Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 178 kB / 17.06 MB, free: 5.098 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.265/1.265, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008333/0.0008333, allocations: 91.72 kB / 292.2 MB, free: 10.7 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.3334/0.3334, allocations: 44.22 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3006, allocations: 61.91 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4179, allocations: 102.9 MB / 0.61 GB, free: 8.227 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4181, allocations: 83.95 kB / 0.6101 GB, free: 8.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.125/0.5431, allocations: 53.72 MB / 0.6626 GB, free: 2.082 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5432, allocations: 0 / 0.6626 GB, free: 2.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.002e-05/0.5433, allocations: 56 kB / 0.6626 GB, free: 2.027 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.0055/0.5488, allocations: 2.631 MB / 0.6652 GB, free: 15.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5488, allocations: 8.031 kB / 0.6652 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/0.5557, allocations: 1.798 MB / 0.6669 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.56, allocations: 1.676 MB / 0.6686 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5601, allocations: 213.5 kB / 0.6688 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006029/0.5608, allocations: 271.9 kB / 0.669 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.5719, allocations: 6.315 MB / 0.6752 GB, free: 4.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.729e-05/0.572, allocations: 15.88 kB / 0.6752 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007275/0.5728, allocations: 119.9 kB / 0.6753 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008927/0.5737, allocations: 0.6411 MB / 0.676 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2425/0.8162, allocations: 5.497 MB / 0.6813 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.8391, allocations: 22.32 MB / 0.7031 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.8425, allocations: 2.001 MB / 0.7051 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005165/0.8477, allocations: 3.691 MB / 0.7087 GB, free: 91.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.8478, allocations: 41.28 kB / 0.7087 GB, free: 91.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.537e-06/0.8478, allocations: 0 / 0.7087 GB, free: 91.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004612/0.8524, allocations: 2.233 MB / 0.7109 GB, free: 91.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.8525, allocations: 61.19 kB / 0.711 GB, free: 91.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.8549, allocations: 1.739 MB / 0.7127 GB, free: 90.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.855, allocations: 37.02 kB / 0.7127 GB, free: 90.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/0.8559, allocations: 1.886 MB / 0.7145 GB, free: 89.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.8561, allocations: 319.2 kB / 0.7149 GB, free: 88.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.8563, allocations: 54.3 kB / 0.7149 GB, free: 88.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.8565, allocations: 498.2 kB / 0.7154 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.8575, allocations: 0.8472 MB / 0.7162 GB, free: 88.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.8592, allocations: 2.7 MB / 0.7188 GB, free: 85.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.861, allocations: 1.525 MB / 0.7203 GB, free: 84.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.8611, allocations: 18 kB / 0.7203 GB, free: 84.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005169/0.8663, allocations: 3.444 MB / 0.7237 GB, free: 83.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.8664, allocations: 34.72 kB / 0.7237 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-05/0.8665, allocations: 65.72 kB / 0.7238 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.8666, allocations: 96.91 kB / 0.7239 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.8685, allocations: 0.6667 MB / 0.7246 GB, free: 83.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.8686, allocations: 130.6 kB / 0.7247 GB, free: 83.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.8708, allocations: 409 kB / 0.7251 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/0.8712, allocations: 184 kB / 0.7252 GB, free: 83.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.00259/0.8738, allocations: 1.377 MB / 0.7266 GB, free: 82.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.8742, allocations: 164.4 kB / 0.7267 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.8748, allocations: 199.4 kB / 0.7269 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.8748, allocations: 9.609 kB / 0.7269 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.8748, allocations: 3.375 kB / 0.7269 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.8748, allocations: 7.062 kB / 0.727 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007546/0.8824, allocations: 4.111 MB / 0.731 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.8824, allocations: 6.375 kB / 0.731 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.8828, allocations: 103.3 kB / 0.7311 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.8829, allocations: 10.89 kB / 0.7311 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.8829, allocations: 17.66 kB / 0.7311 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.8829, allocations: 10.55 kB / 0.7311 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.8829, allocations: 11.84 kB / 0.7311 GB, free: 80.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8846, allocations: 1.731 MB / 0.7328 GB, free: 79.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/0.8851, allocations: 252.7 kB / 0.7331 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.8852, allocations: 20.73 kB / 0.7331 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.8857, allocations: 36.78 kB / 0.7331 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.8858, allocations: 56.36 kB / 0.7332 GB, free: 79.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.8858, allocations: 31.72 kB / 0.7332 GB, free: 79.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001633/0.8875, allocations: 1.269 MB / 0.7344 GB, free: 78.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.342e-06/0.8875, allocations: 4 kB / 0.7344 GB, free: 78.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002536/0.89, allocations: 0.7092 MB / 0.7351 GB, free: 78.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * 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.0002569/0.8903, allocations: 146 kB / 0.7353 GB, free: 78.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.8929, allocations: 1.981 MB / 0.7372 GB, free: 77.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8929, allocations: 4.938 kB / 0.7372 GB, free: 77.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.8934, allocations: 466.9 kB / 0.7376 GB, free: 77.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.8943, allocations: 230.1 kB / 0.7379 GB, free: 77.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/0.9022, allocations: 6.261 MB / 0.744 GB, free: 73.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/0.9041, allocations: 2.382 MB / 0.7463 GB, free: 72.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002282/0.9064, allocations: 0.9702 MB / 0.7473 GB, free: 72.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.9067, allocations: 123.1 kB / 0.7474 GB, free: 72.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/0.9067, allocations: 0 / 0.7474 GB, free: 72.73 MB / 490.7 MB Notification: Performance of Templates: time 0.02613/0.9328, allocations: 13.77 MB / 0.7608 GB, free: 71.92 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches