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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 110.5 kB / 18.46 MB, free: 4.613 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.001248/0.001248, allocations: 179.4 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.08 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.314, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.00989/0.3239, allocations: 9.738 MB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.3297, allocations: 2.927 MB / 0.5319 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.3307, allocations: 54.19 kB / 0.532 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.3342, allocations: 1.983 MB / 0.5339 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.3365, allocations: 1.16 MB / 0.5351 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.3371, allocations: 287.2 kB / 0.5353 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.3398, allocations: 2.328 MB / 0.5376 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.3423, allocations: 2.336 MB / 0.5399 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3434, allocations: 0.9 MB / 0.5408 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.3449, allocations: 1.179 MB / 0.5419 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.3453, allocations: 197.8 kB / 0.5421 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3465, allocations: 0.6998 MB / 0.5428 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009936/0.3475, allocations: 1.165 MB / 0.5439 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3486, allocations: 1.347 MB / 0.5452 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.353, allocations: 4.466 MB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.353, allocations: 0 / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.353, allocations: 4 kB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3531, allocations: 4 kB / 0.5496 GB, free: 13.18 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005797/0.3589, allocations: 3.016 MB / 0.5526 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.359, allocations: 8.031 kB / 0.5526 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/0.3645, allocations: 1.606 MB / 0.5541 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3672, allocations: 1.356 MB / 0.5555 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3673, allocations: 160 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.3677, allocations: 187.8 kB / 0.5558 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00946/0.3772, allocations: 6.432 MB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.3773, allocations: 11.88 kB / 0.5621 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.3775, allocations: 91.98 kB / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.3798, allocations: 1.399 MB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3899, allocations: 5.499 MB / 0.5689 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.4175, allocations: 20.5 MB / 0.5889 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.4218, allocations: 2.009 MB / 0.5909 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/0.4228, allocations: 0.6875 MB / 0.5916 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006415/0.4292, allocations: 3.644 MB / 0.5951 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4293, allocations: 35 kB / 0.5951 GB, free: 13.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.865e-06/0.4293, allocations: 4 kB / 0.5952 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005523/0.4348, allocations: 1.99 MB / 0.5971 GB, free: 11.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.4349, allocations: 63.78 kB / 0.5972 GB, free: 11.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.4377, allocations: 1.967 MB / 0.5991 GB, free: 9.242 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.4378, allocations: 37.7 kB / 0.5991 GB, free: 9.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.4391, allocations: 1.958 MB / 0.601 GB, free: 7.219 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.4394, allocations: 329.5 kB / 0.6013 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007698/0.4402, allocations: 0.6274 MB / 0.6019 GB, free: 6.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4403, allocations: 357.9 kB / 0.6023 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.4416, allocations: 0.892 MB / 0.6032 GB, free: 5.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.4439, allocations: 2.774 MB / 0.6059 GB, free: 1.293 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.4479, allocations: 3.999 MB / 0.6098 GB, free: 12.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/0.4479, allocations: 20 kB / 0.6098 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005155/0.4531, allocations: 3.562 MB / 0.6133 GB, free: 8.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.4531, allocations: 33 kB / 0.6133 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-05/0.4532, allocations: 68 kB / 0.6134 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.032e-05/0.4533, allocations: 92 kB / 0.6135 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.4552, allocations: 0.6589 MB / 0.6141 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001024/0.4554, allocations: 131.5 kB / 0.6142 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.4573, allocations: 424.8 kB / 0.6146 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.4575, allocations: 184 kB / 0.6148 GB, free: 7.195 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.001913/0.4594, allocations: 1.381 MB / 0.6162 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.4597, allocations: 170.8 kB / 0.6163 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.46, allocations: 201.2 kB / 0.6165 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.46, allocations: 3.984 kB / 0.6165 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4601, allocations: 0 / 0.6165 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4604, allocations: 235.8 kB / 0.6167 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.4606, allocations: 12 kB / 0.6168 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.4611, allocations: 27.91 kB / 0.6168 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.4612, allocations: 32.34 kB / 0.6168 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001411/0.4626, allocations: 0.9487 MB / 0.6177 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001298/0.4639, allocations: 1.144 MB / 0.6189 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004834/0.4644, allocations: 407.4 kB / 0.6192 GB, free: 2.598 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.4662, allocations: 1.207 MB / 0.6204 GB, free: 1.398 MB / 478.1 MB Notification: Performance of Backend: time 8.52e-07/0.4662, allocations: 0 / 0.6204 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004139/0.4703, allocations: 1.812 MB / 0.6222 GB, free: 15.59 MB / 494.1 MB Notification: Performance of SimCode: time 0.008489/0.4788, allocations: 5.542 MB / 0.6276 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Templates: time 0.03802/0.5169, allocations: 19.95 MB / 0.6471 GB, free: 6.086 MB / 0.4981 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches