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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 107.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2586/0.2586, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 79.84 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1319, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01163/0.1435, allocations: 11.04 MB / 0.4987 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.1516, allocations: 3.053 MB / 0.5016 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.1538, allocations: 55.88 kB / 0.5017 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.1579, allocations: 2.017 MB / 0.5037 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1613, allocations: 1.234 MB / 0.5049 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/0.1623, allocations: 295.5 kB / 0.5051 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003845/0.1661, allocations: 2.497 MB / 0.5076 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003971/0.1701, allocations: 2.399 MB / 0.5099 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.1722, allocations: 0.9539 MB / 0.5109 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.1748, allocations: 1.304 MB / 0.5121 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008991/0.1757, allocations: 220 kB / 0.5123 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.1777, allocations: 0.706 MB / 0.513 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.1793, allocations: 1.251 MB / 0.5143 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.181, allocations: 1.468 MB / 0.5157 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006067/0.1871, allocations: 4.831 MB / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1871, allocations: 0 / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1871, allocations: 0 / 0.5204 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.1872, allocations: 0 / 0.5204 GB, free: 10.33 MB / 414.1 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.006278/0.1935, allocations: 3.155 MB / 0.5235 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.1936, allocations: 8.031 kB / 0.5235 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/0.1988, allocations: 1.619 MB / 0.5251 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.2017, allocations: 1.426 MB / 0.5265 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.2018, allocations: 164.4 kB / 0.5266 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/0.2023, allocations: 203.8 kB / 0.5268 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2999/0.5021, allocations: 6.971 MB / 0.5336 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.5023, allocations: 16.03 kB / 0.5336 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.5026, allocations: 93.95 kB / 0.5337 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.505, allocations: 1.523 MB / 0.5352 GB, free: 36.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.5171, allocations: 5.955 MB / 0.541 GB, free: 35.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.5459, allocations: 22.09 MB / 0.5626 GB, free: 20.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.5501, allocations: 2.194 MB / 0.5647 GB, free: 18.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000914/0.551, allocations: 0.8124 MB / 0.5655 GB, free: 18.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006031/0.557, allocations: 3.957 MB / 0.5694 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5571, allocations: 38.81 kB / 0.5694 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.037e-06/0.5571, allocations: 4 kB / 0.5694 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005075/0.5622, allocations: 2.253 MB / 0.5716 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5623, allocations: 64 kB / 0.5717 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.5655, allocations: 2.064 MB / 0.5737 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.5656, allocations: 33.7 kB / 0.5738 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.567, allocations: 2.006 MB / 0.5757 GB, free: 9.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.5673, allocations: 380.1 kB / 0.5761 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009453/0.5682, allocations: 0.6769 MB / 0.5767 GB, free: 8.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5684, allocations: 357.9 kB / 0.5771 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.5696, allocations: 0.998 MB / 0.578 GB, free: 7.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.5715, allocations: 3.001 MB / 0.581 GB, free: 3.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.5761, allocations: 4.359 MB / 0.5852 GB, free: 13.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.595e-05/0.5762, allocations: 20 kB / 0.5853 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006705/0.5829, allocations: 3.876 MB / 0.589 GB, free: 9.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.583, allocations: 40.06 kB / 0.5891 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.687e-05/0.5831, allocations: 72 kB / 0.5891 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.814e-05/0.5832, allocations: 92 kB / 0.5892 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5853, allocations: 0.729 MB / 0.5899 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/0.5855, allocations: 143.4 kB / 0.5901 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/0.588, allocations: 447.2 kB / 0.5905 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.5883, allocations: 206.7 kB / 0.5907 GB, free: 8.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002983/0.5913, allocations: 1.474 MB / 0.5921 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/0.5916, allocations: 173.7 kB / 0.5923 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.5938, allocations: 1.238 MB / 0.5935 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.5938, allocations: 8 kB / 0.5935 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5939, allocations: 0 / 0.5935 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.5939, allocations: 3.984 kB / 0.5935 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008343/0.6022, allocations: 5.034 MB / 0.5984 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.6023, allocations: 15.56 kB / 0.5985 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.6029, allocations: 143.8 kB / 0.5986 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.603, allocations: 12 kB / 0.5986 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.603, allocations: 31.98 kB / 0.5986 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.6031, allocations: 16.47 kB / 0.5987 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.6031, allocations: 15.94 kB / 0.5987 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.6054, allocations: 1.581 MB / 0.6002 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.606, allocations: 278.5 kB / 0.6005 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.6062, allocations: 27.98 kB / 0.6005 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.6068, allocations: 39.91 kB / 0.6005 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6069, allocations: 79.69 kB / 0.6006 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.607, allocations: 43.92 kB / 0.6007 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.6091, allocations: 1.34 MB / 0.602 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.6092, allocations: 0 / 0.602 GB, free: 12.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003465/0.6126, allocations: 0.7763 MB / 0.6027 GB, free: 11.46 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.613, allocations: 153.6 kB / 0.6029 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.6166, allocations: 2.332 MB / 0.6052 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6167, allocations: 8.062 kB / 0.6052 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.6174, allocations: 0.553 MB / 0.6057 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6188, allocations: 266.3 kB / 0.606 GB, free: 8.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.628, allocations: 5.73 MB / 0.6116 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/0.6306, allocations: 2.462 MB / 0.614 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00233/0.6329, allocations: 1.039 MB / 0.615 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.6333, allocations: 135.4 kB / 0.6151 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6333, allocations: 0 / 0.6151 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03508/0.6684, allocations: 16.94 MB / 0.6316 GB, free: 13.7 MB / 478.1 MB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches