Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.1 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009084, allocations: 81.44 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3288/0.3288, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4613, allocations: 96.78 MB / 0.5745 GB, free: 5.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4616, allocations: 79.95 kB / 0.5745 GB, free: 5.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1226/0.5842, allocations: 47.22 MB / 0.6206 GB, free: 5.559 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5843, allocations: 0 / 0.6206 GB, free: 5.559 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.227e-05/0.5844, allocations: 40 kB / 0.6207 GB, free: 5.52 MB / 442.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.006402/0.5908, allocations: 2.326 MB / 0.623 GB, free: 3.133 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5909, allocations: 8.031 kB / 0.623 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007413/0.5983, allocations: 1.772 MB / 0.6247 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.6018, allocations: 1.39 MB / 0.626 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.602, allocations: 181 kB / 0.6262 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.6032, allocations: 240.2 kB / 0.6264 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.6152, allocations: 6.581 MB / 0.6329 GB, free: 8.152 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.6153, allocations: 39.81 kB / 0.6329 GB, free: 8.113 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/0.6157, allocations: 123.9 kB / 0.633 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008495/0.6166, allocations: 0.6994 MB / 0.6337 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009091/0.6257, allocations: 5.466 MB / 0.6391 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.6563, allocations: 31.81 MB / 0.6701 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2167/0.8731, allocations: 2.307 MB / 0.6724 GB, free: 115.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.8746, allocations: 0.9758 MB / 0.6733 GB, free: 115.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.8747, allocations: 47.36 kB / 0.6734 GB, free: 115.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.8748, allocations: 46 kB / 0.6734 GB, free: 115.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.589e-06/0.8748, allocations: 0 / 0.6734 GB, free: 115.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02366/0.8984, allocations: 9.315 MB / 0.6825 GB, free: 114.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.8986, allocations: 143.4 kB / 0.6826 GB, free: 114 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.9019, allocations: 2.635 MB / 0.6852 GB, free: 113.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.9021, allocations: 39.77 kB / 0.6853 GB, free: 113.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.9032, allocations: 2.032 MB / 0.6872 GB, free: 112.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.9036, allocations: 471.5 kB / 0.6877 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.9038, allocations: 82.41 kB / 0.6878 GB, free: 112.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.904, allocations: 0.4912 MB / 0.6883 GB, free: 112 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.9056, allocations: 1.374 MB / 0.6896 GB, free: 112 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.9083, allocations: 4.161 MB / 0.6937 GB, free: 108.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.9134, allocations: 6.059 MB / 0.6996 GB, free: 104.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-05/0.9136, allocations: 28.38 kB / 0.6996 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008486/0.9221, allocations: 5.605 MB / 0.7051 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.9222, allocations: 48.72 kB / 0.7051 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.9223, allocations: 102.2 kB / 0.7052 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.9233, allocations: 462.7 kB / 0.7057 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.9262, allocations: 1.022 MB / 0.7067 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.9295, allocations: 3.387 MB / 0.71 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.9324, allocations: 232.5 kB / 0.7102 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/0.9329, allocations: 273.6 kB / 0.7105 GB, free: 100.4 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.00226/0.9351, allocations: 1.384 MB / 0.7118 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.9356, allocations: 227.9 kB / 0.712 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.9381, allocations: 1.475 MB / 0.7135 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.9381, allocations: 17.28 kB / 0.7135 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.9382, allocations: 2.625 kB / 0.7135 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.9382, allocations: 9.688 kB / 0.7135 GB, free: 99.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/0.9469, allocations: 4.466 MB / 0.7178 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.947, allocations: 5.734 kB / 0.7179 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.9478, allocations: 180 kB / 0.718 GB, free: 97.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000804/0.9487, allocations: 313.3 kB / 0.7183 GB, free: 97.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.9488, allocations: 20.17 kB / 0.7183 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.9516, allocations: 2.81 MB / 0.7211 GB, free: 95.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9516, allocations: 4.5 kB / 0.7211 GB, free: 95.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.9564, allocations: 3.28 MB / 0.7243 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.9577, allocations: 430.7 kB / 0.7247 GB, free: 93.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.958, allocations: 21.59 kB / 0.7247 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008411/0.9588, allocations: 48.22 kB / 0.7248 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.959, allocations: 64.98 kB / 0.7248 GB, free: 93.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.9591, allocations: 34.3 kB / 0.7249 GB, free: 93.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.962, allocations: 1.622 MB / 0.7265 GB, free: 92.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9621, allocations: 1.25 kB / 0.7265 GB, free: 92.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003845/0.9659, allocations: 0.6224 MB / 0.7271 GB, free: 92.85 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.0003343/0.9663, allocations: 144.5 kB / 0.7272 GB, free: 92.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.9714, allocations: 3.337 MB / 0.7305 GB, free: 91.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9714, allocations: 0 / 0.7305 GB, free: 91.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.9726, allocations: 0.9303 MB / 0.7314 GB, free: 91.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.9744, allocations: 209.2 kB / 0.7316 GB, free: 91.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009315/0.9838, allocations: 6.57 MB / 0.738 GB, free: 87.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.9855, allocations: 2.192 MB / 0.7401 GB, free: 86.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003121/0.9887, allocations: 1.416 MB / 0.7415 GB, free: 86.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.9891, allocations: 159.9 kB / 0.7417 GB, free: 86.55 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9891, allocations: 3.531 kB / 0.7417 GB, free: 86.55 MB / 490.7 MB Notification: Performance of Templates: time 0.03467/1.024, allocations: 20.26 MB / 0.7614 GB, free: 83.61 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches