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.0009692/0.0009692, allocations: 183.6 kB / 18.09 MB, free: 3.633 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.318/1.318, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007558/0.0007557, allocations: 100.3 kB / 293.3 MB, free: 10.57 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.3388/0.3388, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004111, allocations: 8 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3222, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4423, allocations: 98.18 MB / 0.6066 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4425, allocations: 79.95 kB / 0.6067 GB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1189/0.5614, allocations: 47.95 MB / 0.6535 GB, free: 12.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5615, allocations: 0 / 0.6535 GB, free: 12.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.025e-05/0.5616, allocations: 40 kB / 0.6535 GB, free: 12.4 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.005389/0.567, allocations: 2.331 MB / 0.6558 GB, free: 10.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.567, allocations: 8.031 kB / 0.6558 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/0.5739, allocations: 1.772 MB / 0.6576 GB, free: 8.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.5772, allocations: 1.386 MB / 0.6589 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.5774, allocations: 181.1 kB / 0.6591 GB, free: 6.609 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.5779, allocations: 240.3 kB / 0.6593 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.588, allocations: 6.568 MB / 0.6657 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.312e-05/0.5881, allocations: 47.78 kB / 0.6658 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.5885, allocations: 127.8 kB / 0.6659 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008621/0.5893, allocations: 0.7072 MB / 0.6666 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009408/0.5987, allocations: 5.462 MB / 0.6719 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2959/0.8947, allocations: 31.8 MB / 0.703 GB, free: 84.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.8984, allocations: 2.315 MB / 0.7052 GB, free: 84.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.8994, allocations: 0.9755 MB / 0.7062 GB, free: 84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.225e-05/0.8995, allocations: 48.03 kB / 0.7062 GB, free: 84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.8995, allocations: 52.48 kB / 0.7063 GB, free: 83.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.8995, allocations: 0 / 0.7063 GB, free: 83.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02024/0.9198, allocations: 9.312 MB / 0.7154 GB, free: 82.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.9198, allocations: 145.2 kB / 0.7155 GB, free: 81.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.9229, allocations: 2.635 MB / 0.7181 GB, free: 81.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.923, allocations: 36.3 kB / 0.7181 GB, free: 81.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/0.9239, allocations: 2.034 MB / 0.7201 GB, free: 80.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.9242, allocations: 467.6 kB / 0.7206 GB, free: 80.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.9243, allocations: 86.25 kB / 0.7206 GB, free: 80.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.9245, allocations: 0.493 MB / 0.7211 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.926, allocations: 1.374 MB / 0.7225 GB, free: 79.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.9289, allocations: 4.161 MB / 0.7265 GB, free: 75.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/0.9341, allocations: 6.061 MB / 0.7324 GB, free: 70.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.074e-05/0.9342, allocations: 28.34 kB / 0.7325 GB, free: 70.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.009332/0.9435, allocations: 5.595 MB / 0.7379 GB, free: 68.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.9436, allocations: 48.2 kB / 0.738 GB, free: 68.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.9438, allocations: 102.8 kB / 0.7381 GB, free: 68.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.945, allocations: 463.8 kB / 0.7385 GB, free: 67.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.9481, allocations: 1.017 MB / 0.7395 GB, free: 67.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.9518, allocations: 3.395 MB / 0.7428 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/0.9551, allocations: 226.4 kB / 0.743 GB, free: 65.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/0.9557, allocations: 280.8 kB / 0.7433 GB, free: 65.57 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.002295/0.958, allocations: 1.392 MB / 0.7447 GB, free: 64.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.9584, allocations: 218.5 kB / 0.7449 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.9609, allocations: 1.48 MB / 0.7463 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.9609, allocations: 19.53 kB / 0.7463 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.9609, allocations: 0 / 0.7463 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.961, allocations: 11.59 kB / 0.7464 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/0.9681, allocations: 4.474 MB / 0.7507 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9681, allocations: 3.141 kB / 0.7507 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/0.9689, allocations: 169.1 kB / 0.7509 GB, free: 62.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/0.9696, allocations: 319 kB / 0.7512 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.9697, allocations: 23.44 kB / 0.7512 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.972, allocations: 2.813 MB / 0.754 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9721, allocations: 0 / 0.754 GB, free: 60.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.9756, allocations: 3.266 MB / 0.7572 GB, free: 59.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.9761, allocations: 283.8 kB / 0.7574 GB, free: 58.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.9763, allocations: 19.62 kB / 0.7574 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.977, allocations: 49.08 kB / 0.7575 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.9772, allocations: 61.84 kB / 0.7575 GB, free: 58.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.9772, allocations: 30.02 kB / 0.7576 GB, free: 58.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.9794, allocations: 1.621 MB / 0.7592 GB, free: 58.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9794, allocations: 0 / 0.7592 GB, free: 58.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003224/0.9827, allocations: 0.6209 MB / 0.7598 GB, free: 58.09 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.0003085/0.983, allocations: 152.6 kB / 0.7599 GB, free: 57.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.9872, allocations: 3.34 MB / 0.7632 GB, free: 56.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.9873, allocations: 1.375 kB / 0.7632 GB, free: 56.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.9882, allocations: 0.9232 MB / 0.7641 GB, free: 56.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9897, allocations: 208 kB / 0.7643 GB, free: 56.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.9978, allocations: 6.577 MB / 0.7707 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.9995, allocations: 2.194 MB / 0.7728 GB, free: 51.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00289/1.002, allocations: 1.41 MB / 0.7742 GB, free: 51.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/1.003, allocations: 168 kB / 0.7744 GB, free: 51.77 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/1.003, allocations: 0 / 0.7744 GB, free: 51.77 MB / 490.7 MB Notification: Performance of Templates: time 0.03196/1.035, allocations: 20.31 MB / 0.7942 GB, free: 40.4 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/jenkins1/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