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.000933/0.000933, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.222/1.222, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007946/0.0007946, allocations: 84.83 kB / 267 MB, free: 9.27 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.3196/0.3196, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.574e-05, allocations: 7.984 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 58.83 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4347, allocations: 96.59 MB / 0.5671 GB, free: 9.191 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001527/0.4349, allocations: 80.73 kB / 0.5672 GB, free: 9.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1071/0.542, allocations: 47.66 MB / 0.6137 GB, free: 15.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5421, allocations: 0 / 0.6137 GB, free: 15.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.5421, allocations: 40 kB / 0.6138 GB, free: 15.72 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.003435/0.5456, allocations: 2.327 MB / 0.6161 GB, free: 13.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5456, allocations: 8.031 kB / 0.6161 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006274/0.5519, allocations: 1.767 MB / 0.6178 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.554, allocations: 1.359 MB / 0.6191 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5541, allocations: 186.5 kB / 0.6193 GB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.5545, allocations: 242.6 kB / 0.6195 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.5623, allocations: 6.548 MB / 0.6259 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/0.5624, allocations: 43.67 kB / 0.626 GB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.5627, allocations: 119.2 kB / 0.6261 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006979/0.5634, allocations: 0.6976 MB / 0.6268 GB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/0.5712, allocations: 5.431 MB / 0.6321 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.5965, allocations: 31.82 MB / 0.6631 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/0.6004, allocations: 2.336 MB / 0.6654 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.6015, allocations: 0.9756 MB / 0.6664 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/0.6016, allocations: 35.98 kB / 0.6664 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.6016, allocations: 46.5 kB / 0.6664 GB, free: 10.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.6016, allocations: 0 / 0.6664 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.02/0.6217, allocations: 8.501 MB / 0.6747 GB, free: 1.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.6217, allocations: 141.1 kB / 0.6749 GB, free: 1.613 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.6246, allocations: 2.334 MB / 0.6772 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.6247, allocations: 37.7 kB / 0.6772 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.6258, allocations: 2.036 MB / 0.6792 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.6262, allocations: 470.1 kB / 0.6796 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.6264, allocations: 88 kB / 0.6797 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000255/0.6266, allocations: 495.6 kB / 0.6802 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.6283, allocations: 1.352 MB / 0.6815 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.6318, allocations: 4.114 MB / 0.6855 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.6346, allocations: 2.368 MB / 0.6878 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.6347, allocations: 28 kB / 0.6879 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.2227/0.8574, allocations: 5.535 MB / 0.6933 GB, free: 122 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.8575, allocations: 46.84 kB / 0.6933 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.8577, allocations: 98.25 kB / 0.6934 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.8588, allocations: 477.1 kB / 0.6939 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.862, allocations: 1.022 MB / 0.6949 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.8658, allocations: 3.375 MB / 0.6982 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.8692, allocations: 237.3 kB / 0.6984 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006894/0.8699, allocations: 275.4 kB / 0.6986 GB, free: 120.6 MB / 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 () * 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.0007059/0.8706, allocations: 449.3 kB / 0.6991 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.8709, allocations: 221 kB / 0.6993 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.8733, allocations: 1.469 MB / 0.7007 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.8733, allocations: 12.66 kB / 0.7007 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.8733, allocations: 8.641 kB / 0.7007 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.8734, allocations: 9.094 kB / 0.7008 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.8799, allocations: 4.457 MB / 0.7051 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.8799, allocations: 0 / 0.7051 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.8807, allocations: 174.3 kB / 0.7053 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007366/0.8815, allocations: 320.1 kB / 0.7056 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.8816, allocations: 18.53 kB / 0.7056 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.8839, allocations: 2.81 MB / 0.7083 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8839, allocations: 0 / 0.7083 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.8876, allocations: 3.303 MB / 0.7116 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.8886, allocations: 439.3 kB / 0.712 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.8888, allocations: 18.02 kB / 0.712 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.8895, allocations: 50.06 kB / 0.712 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.8896, allocations: 62.25 kB / 0.7121 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.8897, allocations: 30.5 kB / 0.7121 GB, free: 118 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001898/0.8916, allocations: 1.596 MB / 0.7137 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8916, allocations: 0 / 0.7137 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002597/0.8942, allocations: 0.6263 MB / 0.7143 GB, free: 117.9 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 () * 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.000267/0.8945, allocations: 159.1 kB / 0.7145 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003672/0.8982, allocations: 3.284 MB / 0.7177 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8982, allocations: 3.469 kB / 0.7177 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000919/0.8991, allocations: 0.9204 MB / 0.7186 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.8998, allocations: 191.7 kB / 0.7187 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/0.9062, allocations: 4.607 MB / 0.7232 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.908, allocations: 2.243 MB / 0.7254 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002775/0.9108, allocations: 1.411 MB / 0.7268 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.9112, allocations: 164.5 kB / 0.727 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.9112, allocations: 4 kB / 0.727 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03775/0.9489, allocations: 20.26 MB / 0.7468 GB, free: 114.3 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