Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000926/0.0009261, allocations: 183.8 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.185/1.185, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007011/0.0007011, allocations: 97.28 kB / 267.1 MB, free: 9.281 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.3029/0.3029, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.381e-05, allocations: 4 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.4112, allocations: 102.1 MB / 0.5725 GB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001503/0.4113, allocations: 77.45 kB / 0.5725 GB, free: 3.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1251/0.5365, allocations: 57.08 MB / 0.6283 GB, free: 2.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5365, allocations: 3.938 kB / 0.6283 GB, free: 2.387 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.628e-05/0.5366, allocations: 52 kB / 0.6283 GB, free: 2.336 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.004125/0.5407, allocations: 2.669 MB / 0.6309 GB, free: 15.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5408, allocations: 15.97 kB / 0.631 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006813/0.5476, allocations: 1.836 MB / 0.6328 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.5507, allocations: 1.754 MB / 0.6345 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.5508, allocations: 228.3 kB / 0.6347 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.5513, allocations: 290.5 kB / 0.635 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.5628, allocations: 6.769 MB / 0.6416 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/0.5629, allocations: 15.81 kB / 0.6416 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/0.5632, allocations: 139.9 kB / 0.6417 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008909/0.5641, allocations: 0.7001 MB / 0.6424 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009399/0.5735, allocations: 5.857 MB / 0.6481 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.5994, allocations: 23.93 MB / 0.6715 GB, free: 6.266 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.6034, allocations: 2.178 MB / 0.6736 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.6044, allocations: 0.7931 MB / 0.6744 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.6105, allocations: 4.007 MB / 0.6783 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6105, allocations: 43.34 kB / 0.6783 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.385e-06/0.6105, allocations: 0 / 0.6783 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.004375/0.6149, allocations: 1.758 MB / 0.6801 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.615, allocations: 60.19 kB / 0.6801 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.6173, allocations: 1.809 MB / 0.6819 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.6173, allocations: 41.64 kB / 0.6819 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.6184, allocations: 2.011 MB / 0.6839 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.6187, allocations: 379.1 kB / 0.6843 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6188, allocations: 64 kB / 0.6843 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.619, allocations: 444.9 kB / 0.6847 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6202, allocations: 0.9278 MB / 0.6856 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.6224, allocations: 2.903 MB / 0.6885 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.6243, allocations: 1.669 MB / 0.6901 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-05/0.6243, allocations: 20 kB / 0.6901 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.2248/0.8492, allocations: 3.727 MB / 0.6938 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.8493, allocations: 39.11 kB / 0.6938 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-05/0.8493, allocations: 70.59 kB / 0.6939 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.8495, allocations: 102.5 kB / 0.694 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.8515, allocations: 0.7259 MB / 0.6947 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.8516, allocations: 136.8 kB / 0.6948 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.8534, allocations: 447.6 kB / 0.6952 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.8537, allocations: 199.5 kB / 0.6954 GB, free: 117.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.854, allocations: 363.9 kB / 0.6958 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.8542, allocations: 173.5 kB / 0.6959 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.856, allocations: 1.212 MB / 0.6971 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.8561, allocations: 16.56 kB / 0.6971 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8561, allocations: 1.203 kB / 0.6971 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8561, allocations: 4.391 kB / 0.6971 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.8627, allocations: 5.027 MB / 0.7021 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.8627, allocations: 8.938 kB / 0.7021 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.8633, allocations: 142.4 kB / 0.7022 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.8633, allocations: 19.16 kB / 0.7022 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.8633, allocations: 30.83 kB / 0.7022 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.8634, allocations: 19.77 kB / 0.7023 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.8634, allocations: 17.5 kB / 0.7023 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.8651, allocations: 2.296 MB / 0.7045 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.8655, allocations: 285.5 kB / 0.7048 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.8657, allocations: 31.34 kB / 0.7048 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.8662, allocations: 35.03 kB / 0.7049 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.8664, allocations: 85.42 kB / 0.7049 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/0.8664, allocations: 40.19 kB / 0.705 GB, free: 115 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001517/0.868, allocations: 1.316 MB / 0.7063 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/0.868, allocations: 0 / 0.7063 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002555/0.8705, allocations: 0.7727 MB / 0.707 GB, free: 114.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002754/0.8708, allocations: 153 kB / 0.7072 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.874, allocations: 2.21 MB / 0.7093 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.874, allocations: 3 kB / 0.7093 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.8746, allocations: 0.5536 MB / 0.7099 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8758, allocations: 239.2 kB / 0.7101 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/0.8829, allocations: 4.682 MB / 0.7147 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/0.8848, allocations: 2.516 MB / 0.7171 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002217/0.8871, allocations: 1.044 MB / 0.7181 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.8873, allocations: 136.3 kB / 0.7183 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.8873, allocations: 0 / 0.7183 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.02762/0.915, allocations: 15.18 MB / 0.7331 GB, free: 111.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches