Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000767/0.0007673, allocations: 88.2 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1662/0.1662, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.326e-05, allocations: 0 / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09333, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4347, allocations: 99.1 MB / 0.6081 GB, free: 10.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.4349, allocations: 73.34 kB / 0.6082 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1128/0.5477, allocations: 48.53 MB / 0.6556 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5478, allocations: 0 / 0.6556 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.649e-05/0.5479, allocations: 48 kB / 0.6556 GB, free: 0.6289 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.003873/0.5518, allocations: 2.344 MB / 0.6579 GB, free: 14.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5518, allocations: 19.97 kB / 0.658 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.5585, allocations: 1.766 MB / 0.6597 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.5613, allocations: 1.366 MB / 0.661 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5614, allocations: 186.8 kB / 0.6612 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/0.5619, allocations: 241.8 kB / 0.6614 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008989/0.5709, allocations: 6.539 MB / 0.6678 GB, free: 5.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.619e-05/0.5711, allocations: 47.62 kB / 0.6678 GB, free: 5.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.5714, allocations: 123.9 kB / 0.668 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007812/0.5722, allocations: 0.6994 MB / 0.6687 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.5807, allocations: 5.416 MB / 0.6739 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/0.6084, allocations: 31.82 MB / 0.705 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.6124, allocations: 2.34 MB / 0.7073 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.6134, allocations: 0.9762 MB / 0.7082 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.383e-05/0.6136, allocations: 47.77 kB / 0.7083 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6136, allocations: 50.55 kB / 0.7083 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.767e-06/0.6136, allocations: 0 / 0.7083 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.02066/0.6343, allocations: 8.48 MB / 0.7166 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.6344, allocations: 141 kB / 0.7168 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.6373, allocations: 2.338 MB / 0.719 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6374, allocations: 45.69 kB / 0.7191 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.6385, allocations: 2.024 MB / 0.7211 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.6389, allocations: 474.3 kB / 0.7215 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6391, allocations: 84 kB / 0.7216 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002488/0.6393, allocations: 0.4956 MB / 0.7221 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.6411, allocations: 1.352 MB / 0.7234 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.6444, allocations: 4.106 MB / 0.7274 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.6473, allocations: 2.369 MB / 0.7297 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/0.6473, allocations: 28 kB / 0.7297 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.008132/0.6555, allocations: 5.552 MB / 0.7352 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.6556, allocations: 50.25 kB / 0.7352 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.038e-05/0.6556, allocations: 96 kB / 0.7353 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.6567, allocations: 480.5 kB / 0.7358 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.6595, allocations: 1.021 MB / 0.7368 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.6632, allocations: 3.384 MB / 0.7401 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.6657, allocations: 227.5 kB / 0.7403 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.6661, allocations: 276 kB / 0.7405 GB, free: 7.672 MB / 0.5261 GB 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 () * 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.0004848/0.6666, allocations: 448.8 kB / 0.741 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.6669, allocations: 225.2 kB / 0.7412 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.6694, allocations: 1.469 MB / 0.7426 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.6694, allocations: 15.98 kB / 0.7426 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.6694, allocations: 8 kB / 0.7427 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6694, allocations: 3.984 kB / 0.7427 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007097/0.6765, allocations: 4.448 MB / 0.747 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.6766, allocations: 8 kB / 0.747 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/0.6774, allocations: 168 kB / 0.7472 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008184/0.6783, allocations: 312.6 kB / 0.7475 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/0.6783, allocations: 24 kB / 0.7475 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2357/0.914, allocations: 2.801 MB / 0.7502 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.914, allocations: 1 kB / 0.7502 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.9182, allocations: 3.304 MB / 0.7534 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.9188, allocations: 283.4 kB / 0.7537 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.919, allocations: 16.58 kB / 0.7537 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.9198, allocations: 51.55 kB / 0.7538 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.9199, allocations: 62.14 kB / 0.7538 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.92, allocations: 31.09 kB / 0.7539 GB, free: 153 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002504/0.9225, allocations: 1.597 MB / 0.7554 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9225, allocations: 0 / 0.7554 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003694/0.9262, allocations: 0.6253 MB / 0.756 GB, free: 152.8 MB / 0.5261 GB 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 () * 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.0004401/0.9267, allocations: 156.8 kB / 0.7562 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005596/0.9323, allocations: 3.288 MB / 0.7594 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9323, allocations: 1.625 kB / 0.7594 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.9336, allocations: 0.924 MB / 0.7603 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.9349, allocations: 192.4 kB / 0.7605 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00982/0.9448, allocations: 4.599 MB / 0.765 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/0.9481, allocations: 2.238 MB / 0.7672 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003516/0.9516, allocations: 1.421 MB / 0.7686 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/0.9522, allocations: 162.6 kB / 0.7687 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.9522, allocations: 0 / 0.7687 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.02984/0.982, allocations: 20.3 MB / 0.7885 GB, free: 150 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches