Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 177.4 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007754, allocations: 96.05 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3034/0.3034, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2953, allocations: 61.9 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4095, allocations: 98.1 MB / 0.6054 GB, free: 13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4098, allocations: 83.95 kB / 0.6054 GB, free: 12.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.5291, allocations: 48.37 MB / 0.6527 GB, free: 12.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.5292, allocations: 0 / 0.6527 GB, free: 12.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.126e-05/0.5293, allocations: 44 kB / 0.6527 GB, free: 12.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004571/0.5338, allocations: 2.412 MB / 0.6551 GB, free: 9.613 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5339, allocations: 8.031 kB / 0.6551 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00698/0.5409, allocations: 1.767 MB / 0.6568 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.545, allocations: 1.377 MB / 0.6582 GB, free: 6.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5452, allocations: 180.7 kB / 0.6583 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005397/0.5457, allocations: 235.9 kB / 0.6586 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009015/0.5548, allocations: 6.59 MB / 0.665 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/0.5549, allocations: 43.61 kB / 0.665 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.5552, allocations: 123.9 kB / 0.6651 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008183/0.556, allocations: 0.6955 MB / 0.6658 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008646/0.5647, allocations: 5.497 MB / 0.6712 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2401/0.8047, allocations: 31.82 MB / 0.7023 GB, free: 84.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.8084, allocations: 2.347 MB / 0.7046 GB, free: 84.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.8085, allocations: 53.5 kB / 0.7046 GB, free: 84.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.8086, allocations: 41.56 kB / 0.7047 GB, free: 84.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.707e-06/0.8086, allocations: 7.094 kB / 0.7047 GB, free: 84.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02039/0.829, allocations: 9.726 MB / 0.7142 GB, free: 82.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.829, allocations: 147.4 kB / 0.7143 GB, free: 81.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.8317, allocations: 2.354 MB / 0.7166 GB, free: 81.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.8318, allocations: 40.02 kB / 0.7166 GB, free: 81.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/0.8327, allocations: 2.032 MB / 0.7186 GB, free: 80.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.833, allocations: 468.8 kB / 0.7191 GB, free: 80.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.8331, allocations: 88.5 kB / 0.7192 GB, free: 80.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8333, allocations: 496.8 kB / 0.7196 GB, free: 80 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.8349, allocations: 1.379 MB / 0.721 GB, free: 79.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.8373, allocations: 4.143 MB / 0.725 GB, free: 75.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.84, allocations: 2.371 MB / 0.7273 GB, free: 74.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.992e-05/0.8401, allocations: 28.56 kB / 0.7274 GB, free: 74.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.0078/0.8479, allocations: 5.605 MB / 0.7328 GB, free: 72.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.848, allocations: 56.84 kB / 0.7329 GB, free: 72.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.8481, allocations: 98.81 kB / 0.733 GB, free: 72.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.8492, allocations: 472.5 kB / 0.7334 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/0.8522, allocations: 1.026 MB / 0.7344 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.8559, allocations: 3.455 MB / 0.7378 GB, free: 70.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.8591, allocations: 231.4 kB / 0.738 GB, free: 70.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005101/0.8596, allocations: 281.4 kB / 0.7383 GB, free: 70.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002098/0.8617, allocations: 1.389 MB / 0.7397 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.8621, allocations: 219.5 kB / 0.7399 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.8644, allocations: 1.48 MB / 0.7413 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.8645, allocations: 14.22 kB / 0.7413 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8645, allocations: 3.281 kB / 0.7413 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.8645, allocations: 8.734 kB / 0.7413 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/0.8726, allocations: 4.473 MB / 0.7457 GB, free: 67.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.8726, allocations: 0 / 0.7457 GB, free: 67.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.8734, allocations: 176.4 kB / 0.7459 GB, free: 67.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007577/0.8742, allocations: 309.9 kB / 0.7462 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.8743, allocations: 26.75 kB / 0.7462 GB, free: 67.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.8766, allocations: 2.88 MB / 0.749 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8766, allocations: 3.969 kB / 0.749 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.88, allocations: 3.331 MB / 0.7523 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.8805, allocations: 280.2 kB / 0.7525 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.8807, allocations: 15.78 kB / 0.7525 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.8814, allocations: 50.28 kB / 0.7526 GB, free: 63.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8815, allocations: 59.62 kB / 0.7526 GB, free: 63.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.8816, allocations: 35.28 kB / 0.7527 GB, free: 63.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001741/0.8833, allocations: 1.62 MB / 0.7543 GB, free: 62.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8834, allocations: 6.578 kB / 0.7543 GB, free: 62.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00301/0.8864, allocations: 0.6177 MB / 0.7549 GB, free: 62.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (86): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002976/0.8867, allocations: 155.2 kB / 0.755 GB, free: 62.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.8906, allocations: 3.333 MB / 0.7583 GB, free: 61.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8906, allocations: 4 kB / 0.7583 GB, free: 61.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.8915, allocations: 0.9263 MB / 0.7592 GB, free: 60.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.8922, allocations: 190.3 kB / 0.7594 GB, free: 60.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.899, allocations: 6.546 MB / 0.7658 GB, free: 57.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.9005, allocations: 2.24 MB / 0.7679 GB, free: 56.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002668/0.9032, allocations: 1.415 MB / 0.7693 GB, free: 56.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.9036, allocations: 163.9 kB / 0.7695 GB, free: 56.39 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9036, allocations: 0 / 0.7695 GB, free: 56.39 MB / 490.7 MB Notification: Performance of Templates: time 0.02932/0.9329, allocations: 20.3 MB / 0.7893 GB, free: 45.79 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches