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.001092/0.001092, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.001279, allocations: 176.3 kB / 16.56 MB, free: 6.844 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.442/1.442, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3191/0.3191, allocations: 43.55 MB / 314.5 MB, free: 8.812 MB / 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.0004848/0.0004849, allocations: 12 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2199/0.3336, allocations: 33.38 MB / 476.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.3489, allocations: 7.646 MB / 483.8 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008566/0.3575, allocations: 160.7 kB / 483.9 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006163/0.3637, allocations: 1.678 MB / 485.6 MB, free: 25.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.3783, allocations: 4.815 MB / 490.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.3804, allocations: 216.6 kB / 490.6 MB, free: 23.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.3829, allocations: 1.382 MB / 492 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/0.3863, allocations: 2.999 MB / 495 MB, free: 21.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.387, allocations: 0.6153 MB / 495.6 MB, free: 21.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008832/0.3879, allocations: 0.7854 MB / 496.4 MB, free: 20.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.3882, allocations: 98.41 kB / 496.5 MB, free: 20.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009153/0.3891, allocations: 0.5124 MB / 497 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009447/0.3901, allocations: 0.996 MB / 498 MB, free: 20.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.3906, allocations: 0.5694 MB / 498.6 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.3957, allocations: 3.716 MB / 0.4905 GB, free: 19.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3957, allocations: 1.406 kB / 0.4905 GB, free: 19.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3957, allocations: 0 / 0.4905 GB, free: 19.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.3959, allocations: 0 / 0.4905 GB, free: 19.3 MB / 382.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.006253/0.4021, allocations: 2.669 MB / 0.4931 GB, free: 17.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4022, allocations: 9.594 kB / 0.4932 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/0.4092, allocations: 1.947 MB / 0.4951 GB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.413, allocations: 1.386 MB / 0.4964 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.4132, allocations: 159.8 kB / 0.4966 GB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005986/0.4138, allocations: 204.5 kB / 0.4968 GB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.4268, allocations: 6.992 MB / 0.5036 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.4269, allocations: 18.67 kB / 0.5036 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.4272, allocations: 97.12 kB / 0.5037 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002756/0.43, allocations: 1.533 MB / 0.5052 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.4427, allocations: 5.969 MB / 0.511 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/0.4744, allocations: 22.29 MB / 0.5328 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.479, allocations: 2.183 MB / 0.5349 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007871/0.4869, allocations: 3.991 MB / 0.5388 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.487, allocations: 43.22 kB / 0.5389 GB, free: 12.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.779e-06/0.487, allocations: 0 / 0.5389 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005859/0.4929, allocations: 2.512 MB / 0.5413 GB, free: 9.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4929, allocations: 56.06 kB / 0.5414 GB, free: 9.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.4963, allocations: 2.045 MB / 0.5434 GB, free: 7.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4964, allocations: 37.7 kB / 0.5434 GB, free: 7.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.498, allocations: 2.011 MB / 0.5454 GB, free: 5.484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/0.4984, allocations: 383.1 kB / 0.5457 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4986, allocations: 60 kB / 0.5458 GB, free: 5.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000298/0.4989, allocations: 0.498 MB / 0.5463 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.5004, allocations: 0.9863 MB / 0.5472 GB, free: 3.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.5033, allocations: 2.964 MB / 0.5501 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.5057, allocations: 1.717 MB / 0.5518 GB, free: 13.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.907e-05/0.5058, allocations: 20 kB / 0.5518 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006002/0.5118, allocations: 3.858 MB / 0.5556 GB, free: 9.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.5119, allocations: 37 kB / 0.5556 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.577e-05/0.512, allocations: 72 kB / 0.5557 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.5121, allocations: 112 kB / 0.5558 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.5142, allocations: 0.7213 MB / 0.5565 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/0.5143, allocations: 143.4 kB / 0.5566 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.5165, allocations: 451.2 kB / 0.5571 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/0.5168, allocations: 204 kB / 0.5573 GB, free: 8.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002726/0.5196, allocations: 1.462 MB / 0.5587 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.5199, allocations: 177.6 kB / 0.5589 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.5218, allocations: 1.241 MB / 0.5601 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.5219, allocations: 12 kB / 0.5601 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5219, allocations: 8 kB / 0.5601 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5219, allocations: 3.984 kB / 0.5601 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008333/0.5302, allocations: 5.018 MB / 0.565 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.5303, allocations: 12 kB / 0.565 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.5309, allocations: 143.7 kB / 0.5651 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.5309, allocations: 16 kB / 0.5652 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.531, allocations: 27.89 kB / 0.5652 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/0.531, allocations: 19.92 kB / 0.5652 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/0.531, allocations: 15.94 kB / 0.5652 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.5334, allocations: 2.319 MB / 0.5675 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.534, allocations: 282.5 kB / 0.5678 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.5342, allocations: 24 kB / 0.5678 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.5347, allocations: 43.88 kB / 0.5678 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.5349, allocations: 79.72 kB / 0.5679 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.535, allocations: 39.98 kB / 0.5679 GB, free: 12.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002409/0.5374, allocations: 1.329 MB / 0.5692 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5374, allocations: 0 / 0.5692 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003677/0.5411, allocations: 0.7776 MB / 0.57 GB, free: 10.49 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 (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.0003499/0.5414, allocations: 155 kB / 0.5701 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.5449, allocations: 2.276 MB / 0.5724 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5449, allocations: 0 / 0.5724 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.5456, allocations: 0.5617 MB / 0.5729 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5467, allocations: 244.5 kB / 0.5731 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5574, allocations: 6.958 MB / 0.5799 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.5599, allocations: 2.522 MB / 0.5824 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002559/0.5625, allocations: 1.039 MB / 0.5834 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.5628, allocations: 139.4 kB / 0.5836 GB, free: 12.42 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5628, allocations: 0 / 0.5836 GB, free: 12.42 MB / 462.1 MB Notification: Performance of Templates: time 0.02963/0.5925, allocations: 15.01 MB / 0.5982 GB, free: 13.45 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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