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.00194/0.00194, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.613/1.613, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008581/0.0008582, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5494, allocations: 96.67 MB / 0.5732 GB, free: 3.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5497, allocations: 72.28 kB / 0.5732 GB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1206/0.6704, allocations: 47.63 MB / 0.6197 GB, free: 9.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6704, allocations: 0 / 0.6197 GB, free: 9.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.317e-05/0.6705, allocations: 44 kB / 0.6198 GB, free: 9.707 MB / 426.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.004849/0.6753, allocations: 2.407 MB / 0.6221 GB, free: 7.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6754, allocations: 8.031 kB / 0.6221 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006883/0.6823, allocations: 1.767 MB / 0.6239 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.6854, allocations: 1.372 MB / 0.6252 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.6855, allocations: 184.5 kB / 0.6254 GB, free: 4.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.686, allocations: 237.5 kB / 0.6256 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009979/0.696, allocations: 6.596 MB / 0.6321 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-05/0.6961, allocations: 43.53 kB / 0.6321 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/0.6964, allocations: 123.9 kB / 0.6322 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008671/0.6973, allocations: 0.6955 MB / 0.6329 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008801/0.7061, allocations: 5.509 MB / 0.6383 GB, free: 7.902 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.7367, allocations: 31.82 MB / 0.6694 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.7411, allocations: 2.362 MB / 0.6717 GB, free: 4.441 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.605e-05/0.7412, allocations: 39.97 kB / 0.6717 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7412, allocations: 42.56 kB / 0.6717 GB, free: 4.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.968e-06/0.7413, allocations: 3.938 kB / 0.6717 GB, free: 4.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=115): time 0.02446/0.7657, allocations: 9.738 MB / 0.6813 GB, free: 10.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.7659, allocations: 137.1 kB / 0.6814 GB, free: 10.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.7693, allocations: 2.362 MB / 0.6837 GB, free: 7.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.7695, allocations: 41.7 kB / 0.6837 GB, free: 7.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.7709, allocations: 2.028 MB / 0.6857 GB, free: 5.754 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.7715, allocations: 462.2 kB / 0.6862 GB, free: 5.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7717, allocations: 88 kB / 0.6862 GB, free: 5.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.772, allocations: 499.6 kB / 0.6867 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.7739, allocations: 1.383 MB / 0.6881 GB, free: 3.324 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.7778, allocations: 4.137 MB / 0.6921 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.7813, allocations: 2.371 MB / 0.6944 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-05/0.7814, allocations: 35.95 kB / 0.6945 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.009365/0.7908, allocations: 5.6 MB / 0.6999 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.7909, allocations: 50.5 kB / 0.7 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/0.791, allocations: 96 kB / 0.7001 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.7923, allocations: 468.5 kB / 0.7005 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/0.7957, allocations: 1.029 MB / 0.7015 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.7998, allocations: 3.458 MB / 0.7049 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.8034, allocations: 231.6 kB / 0.7051 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.8044, allocations: 280 kB / 0.7054 GB, free: 44 kB / 0.4948 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 () * 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.2911/1.096, allocations: 1.375 MB / 0.7067 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/1.096, allocations: 223.2 kB / 0.7069 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/1.1, allocations: 1.474 MB / 0.7084 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/1.1, allocations: 17.95 kB / 0.7084 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.1, allocations: 3.781 kB / 0.7084 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/1.1, allocations: 8 kB / 0.7084 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009898/1.11, allocations: 4.468 MB / 0.7128 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.11, allocations: 1.094 kB / 0.7128 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009124/1.11, allocations: 173.4 kB / 0.7129 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009592/1.111, allocations: 313.2 kB / 0.7132 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/1.112, allocations: 18.42 kB / 0.7132 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/1.115, allocations: 2.889 MB / 0.7161 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.115, allocations: 1.656 kB / 0.7161 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/1.12, allocations: 3.327 MB / 0.7193 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.121, allocations: 435 kB / 0.7197 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/1.122, allocations: 14.42 kB / 0.7197 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.123, allocations: 55.05 kB / 0.7198 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.123, allocations: 57.75 kB / 0.7199 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/1.123, allocations: 29.66 kB / 0.7199 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003991/1.127, allocations: 1.621 MB / 0.7215 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.127, allocations: 0 / 0.7215 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005228/1.133, allocations: 0.6208 MB / 0.7221 GB, free: 141.5 MB / 0.4948 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 () * 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.0004966/1.133, allocations: 153.5 kB / 0.7222 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006065/1.139, allocations: 3.34 MB / 0.7255 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.139, allocations: 3.938 kB / 0.7255 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.141, allocations: 0.9356 MB / 0.7264 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.142, allocations: 186.8 kB / 0.7266 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.155, allocations: 6.54 MB / 0.733 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/1.158, allocations: 2.245 MB / 0.7352 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003667/1.162, allocations: 1.416 MB / 0.7365 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/1.163, allocations: 163.8 kB / 0.7367 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/1.163, allocations: 0.5625 kB / 0.7367 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.04162/1.204, allocations: 20.25 MB / 0.7565 GB, free: 135.8 MB / 0.4948 GB 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/jenkins/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