Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 114.4 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001768, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009757/0.0009759, allocations: 51.17 kB / 302.1 MB, free: 5.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09993, allocations: 49.45 MB / 351.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003278/0.1033, allocations: 2.117 MB / 353.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.1041, allocations: 0.5454 MB / 354.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.1042, allocations: 4 kB / 354.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.1043, allocations: 35.66 kB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.1045, allocations: 43.56 kB / 354.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1046, allocations: 51.88 kB / 354.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1049, allocations: 207.1 kB / 354.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.105, allocations: 77.5 kB / 354.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.1051, allocations: 75.72 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1053, allocations: 79.62 kB / 354.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1053, allocations: 16 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.1053, allocations: 16 kB / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.1054, allocations: 47.78 kB / 354.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1055, allocations: 83.61 kB / 354.9 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1057, allocations: 211.2 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1057, allocations: 4 kB / 355.1 MB, free: 144 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1057, allocations: 4 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1057, allocations: 0 / 355.1 MB, free: 140 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000664/0.1064, allocations: 470.8 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1064, allocations: 12.03 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.1065, allocations: 20.66 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1068, allocations: 228 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1068, allocations: 16.38 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.1068, allocations: 16.38 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1071, allocations: 157.5 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1072, allocations: 7.906 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1072, allocations: 8 kB / 356 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1072, allocations: 4 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.1074, allocations: 99.94 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.1083, allocations: 0.5809 MB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1085, allocations: 118.6 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.1086, allocations: 44.59 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1086, allocations: 4 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1087, allocations: 38.56 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1087, allocations: 0 / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001413/0.1101, allocations: 0.8015 MB / 357.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1101, allocations: 51.41 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1103, allocations: 158.2 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1103, allocations: 25.7 kB / 357.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.1104, allocations: 128.3 kB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1104, allocations: 67 kB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.1105, allocations: 33.72 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1106, allocations: 338.8 kB / 358.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.1107, allocations: 39.98 kB / 358.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1109, allocations: 74.22 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1111, allocations: 137.7 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1111, allocations: 4 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003589/0.1115, allocations: 202.2 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1115, allocations: 4 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1115, allocations: 4 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.1117, allocations: 44.77 kB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1119, allocations: 39.98 kB / 359 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.1132, allocations: 1.527 MB / 360.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.1133, allocations: 15.95 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1133, allocations: 4 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1135, allocations: 129.8 kB / 360.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1135, allocations: 19.75 kB / 360.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.1136, allocations: 21.19 kB / 360.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1136, allocations: 0 / 360.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1136, allocations: 4 kB / 360.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1136, allocations: 11.98 kB / 360.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.1144, allocations: 0.58 MB / 361.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1144, allocations: 192 / 361.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1146, allocations: 35.98 kB / 361.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.1147, allocations: 32.83 kB / 361.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1147, allocations: 11.94 kB / 361.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1158, allocations: 1.469 MB / 362.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1158, allocations: 3.984 kB / 362.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.1163, allocations: 335.9 kB / 363.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1164, allocations: 92.94 kB / 363.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1164, allocations: 8 kB / 363.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1165, allocations: 4.125 kB / 363.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.1166, allocations: 15.98 kB / 363.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1166, allocations: 7.938 kB / 363.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.147e-05/0.1167, allocations: 120.1 kB / 363.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1167, allocations: 0 / 363.5 MB, free: 7.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.117, allocations: 48 kB / 363.5 MB, free: 6.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.1171, allocations: 99.72 kB / 363.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1177, allocations: 265 kB / 363.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1177, allocations: 0 / 363.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.118, allocations: 186.6 kB / 364 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1183, allocations: 23.98 kB / 364.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.1192, allocations: 0.4986 MB / 364.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1195, allocations: 0.7281 MB / 365.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.1196, allocations: 13.55 kB / 365.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.1196, allocations: 15.44 kB / 365.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1196, allocations: 7.938 kB / 365.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of Templates: time 0.004639/0.1243, allocations: 1.834 MB / 367.2 MB, free: 3.258 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches