Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001268/0.001268, allocations: 102.4 kB / 17.15 MB, free: 6.316 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.001304/0.001304, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 55.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 46.63 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003538/0.1118, allocations: 2.154 MB / 328.8 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.1128, allocations: 0.5736 MB / 329.3 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1129, allocations: 7.938 kB / 329.3 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1131, allocations: 19.84 kB / 329.4 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.1132, allocations: 43.61 kB / 329.4 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1134, allocations: 47.97 kB / 329.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1136, allocations: 195.1 kB / 329.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1138, allocations: 65.59 kB / 329.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1139, allocations: 71.66 kB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.114, allocations: 79.62 kB / 329.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1141, allocations: 12 kB / 329.9 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.068e-05/0.1141, allocations: 12 kB / 329.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1141, allocations: 27.91 kB / 329.9 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.1142, allocations: 91.53 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1145, allocations: 199.5 kB / 330.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1145, allocations: 4 kB / 330.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1145, allocations: 0 / 330.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1145, allocations: 0 / 330.2 MB, free: 1.277 MB / 270.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.0007223/0.1153, allocations: 474.6 kB / 330.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1153, allocations: 12.03 kB / 330.7 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1154, allocations: 20.75 kB / 330.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1156, allocations: 224 kB / 330.9 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1157, allocations: 16.31 kB / 330.9 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.1157, allocations: 20.38 kB / 330.9 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.116, allocations: 157.6 kB / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1161, allocations: 0 / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1161, allocations: 12 kB / 331.1 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1161, allocations: 4 kB / 331.1 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1163, allocations: 99.72 kB / 331.2 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.1172, allocations: 0.5926 MB / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1175, allocations: 122.6 kB / 331.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.1176, allocations: 45.09 kB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1176, allocations: 8 kB / 332 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1176, allocations: 30.56 kB / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1177, allocations: 0 / 332 MB, free: 15.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00154/0.1192, allocations: 0.7945 MB / 332.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1193, allocations: 59.33 kB / 332.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1194, allocations: 166.1 kB / 333 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1195, allocations: 25.7 kB / 333 MB, free: 14.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1196, allocations: 132.3 kB / 333.2 MB, free: 14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1196, allocations: 71.02 kB / 333.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.1197, allocations: 33.72 kB / 333.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1199, allocations: 334.8 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.12, allocations: 39.98 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1202, allocations: 71.41 kB / 333.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1204, allocations: 135.3 kB / 333.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1204, allocations: 4 kB / 333.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003847/0.1208, allocations: 206.1 kB / 334 MB, free: 13.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1209, allocations: 12 kB / 334 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1209, allocations: 0 / 334 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.1211, allocations: 40.83 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1212, allocations: 27.98 kB / 334.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1226, allocations: 1.421 MB / 335.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.1227, allocations: 8.031 kB / 335.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1228, allocations: 4 kB / 335.5 MB, free: 11.43 MB / 286.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.0001338/0.1229, allocations: 133.7 kB / 335.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1229, allocations: 15.97 kB / 335.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.123, allocations: 25.17 kB / 335.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.123, allocations: 0 / 335.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.123, allocations: 192 / 335.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.123, allocations: 0 / 335.7 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/0.1238, allocations: 0.5956 MB / 336.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1238, allocations: 7.922 kB / 336.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.124, allocations: 31.98 kB / 336.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.1241, allocations: 28.84 kB / 336.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1241, allocations: 4.047 kB / 336.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1252, allocations: 1.378 MB / 337.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1252, allocations: 0 / 337.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.1257, allocations: 339.2 kB / 338.1 MB, free: 8.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1258, allocations: 88.95 kB / 338.2 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1258, allocations: 11.94 kB / 338.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.1259, allocations: 4 kB / 338.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.126, allocations: 11.98 kB / 338.2 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.126, allocations: 11.92 kB / 338.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.1261, allocations: 111.3 kB / 338.3 MB, free: 8.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1261, allocations: 0 / 338.3 MB, free: 8.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1263, allocations: 48.06 kB / 338.4 MB, free: 8.348 MB / 286.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.0001171/0.1265, allocations: 111.1 kB / 338.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.1269, allocations: 254.5 kB / 338.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.127, allocations: 0 / 338.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1272, allocations: 194.6 kB / 338.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1277, allocations: 20.5 kB / 338.9 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.1286, allocations: 0.553 MB / 339.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1289, allocations: 0.7284 MB / 340.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.129, allocations: 17.55 kB / 340.2 MB, free: 6.395 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.1291, allocations: 15.44 kB / 340.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1291, allocations: 0 / 340.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of Templates: time 0.004524/0.1336, allocations: 1.736 MB / 342 MB, free: 4.645 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches