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.001496/0.001496, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001508/0.001508, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.527/1.527, allocations: 205.1 MB / 224 MB, free: 12.43 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.001154/0.001154, allocations: 51.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004413/0.1249, allocations: 2.158 MB / 328.9 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1261, allocations: 0.5736 MB / 329.5 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1263, allocations: 4 kB / 329.5 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1266, allocations: 23.78 kB / 329.5 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1267, allocations: 35.64 kB / 329.6 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1269, allocations: 47.95 kB / 329.6 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1272, allocations: 207.1 kB / 329.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1274, allocations: 77.62 kB / 329.9 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.1275, allocations: 63.8 kB / 330 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1276, allocations: 83.62 kB / 330 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.1277, allocations: 19.94 kB / 330.1 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.128e-05/0.1277, allocations: 16 kB / 330.1 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.1278, allocations: 39.84 kB / 330.1 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.1279, allocations: 91.53 kB / 330.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1281, allocations: 215.5 kB / 330.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1281, allocations: 0 / 330.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1281, allocations: 0 / 330.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1281, allocations: 0 / 330.4 MB, free: 1.117 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.0007881/0.1289, allocations: 478.5 kB / 330.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.129, allocations: 12.03 kB / 330.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.129, allocations: 16.75 kB / 330.9 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1293, allocations: 228 kB / 331.1 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1294, allocations: 16.38 kB / 331.2 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1294, allocations: 16.38 kB / 331.2 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1297, allocations: 165.6 kB / 331.3 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1297, allocations: 0 / 331.3 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1298, allocations: 8 kB / 331.3 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1298, allocations: 4 kB / 331.3 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.13, allocations: 99.72 kB / 331.4 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.1309, allocations: 0.6004 MB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1312, allocations: 114.6 kB / 332.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.1313, allocations: 40.84 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1313, allocations: 8.188 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1313, allocations: 34.56 kB / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.1313, allocations: 0 / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001504/0.1329, allocations: 0.7907 MB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1329, allocations: 51.41 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1331, allocations: 170.1 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1331, allocations: 29.7 kB / 333.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.1332, allocations: 132.3 kB / 333.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1333, allocations: 63.09 kB / 333.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.1333, allocations: 33.72 kB / 333.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1335, allocations: 334.7 kB / 333.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1336, allocations: 43.97 kB / 333.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1338, allocations: 83.34 kB / 333.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.134, allocations: 127.3 kB / 334.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.134, allocations: 4 kB / 334.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003792/0.1344, allocations: 207.4 kB / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1344, allocations: 8 kB / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1345, allocations: 3.984 kB / 334.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.1347, allocations: 44.77 kB / 334.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1349, allocations: 27.98 kB / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.1365, allocations: 1.532 MB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.1366, allocations: 12.03 kB / 335.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1366, allocations: 8 kB / 335.9 MB, free: 11.14 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.0001733/0.1368, allocations: 141.8 kB / 336 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1368, allocations: 11.84 kB / 336.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1369, allocations: 17.19 kB / 336.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1369, allocations: 4 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1369, allocations: 0 / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.1369, allocations: 7.922 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.1378, allocations: 0.584 MB / 336.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1378, allocations: 0 / 336.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.138, allocations: 27.92 kB / 336.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1381, allocations: 32.84 kB / 336.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1382, allocations: 11.98 kB / 336.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.1393, allocations: 1.477 MB / 338.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1394, allocations: 4.031 kB / 338.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.1398, allocations: 340 kB / 338.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1399, allocations: 85.05 kB / 338.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1399, allocations: 7.984 kB / 338.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.14, allocations: 4 kB / 338.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1401, allocations: 11.98 kB / 338.7 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1401, allocations: 4 kB / 338.7 MB, free: 8.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.1402, allocations: 119.2 kB / 338.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1402, allocations: 3.938 kB / 338.8 MB, free: 8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1405, allocations: 48 kB / 338.8 MB, free: 7.953 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.0001276/0.1406, allocations: 111.1 kB / 338.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.1411, allocations: 261.8 kB / 339.2 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1412, allocations: 4 kB / 339.2 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1414, allocations: 198.6 kB / 339.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1419, allocations: 28.23 kB / 339.4 MB, free: 7.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.143, allocations: 0.5501 MB / 340 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1434, allocations: 0.7281 MB / 340.7 MB, free: 6 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.1435, allocations: 17.55 kB / 340.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.1435, allocations: 15.44 kB / 340.7 MB, free: 5.965 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1435, allocations: 0 / 340.7 MB, free: 5.965 MB / 286.1 MB Notification: Performance of Templates: time 0.005362/0.1489, allocations: 1.821 MB / 342.6 MB, free: 4.145 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