Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 84.16 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009918/0.3052, allocations: 9.524 MB / 0.541 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005404/0.3106, allocations: 2.921 MB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.3112, allocations: 51.44 kB / 0.5439 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.3146, allocations: 2.002 MB / 0.5458 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.3167, allocations: 1.102 MB / 0.5469 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.3173, allocations: 290.6 kB / 0.5472 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.3197, allocations: 2.331 MB / 0.5494 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.3218, allocations: 2.305 MB / 0.5517 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.3226, allocations: 0.8722 MB / 0.5525 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3238, allocations: 1.156 MB / 0.5537 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.3241, allocations: 196 kB / 0.5539 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.3252, allocations: 0.7021 MB / 0.5545 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008406/0.326, allocations: 1.11 MB / 0.5556 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009582/0.327, allocations: 1.305 MB / 0.5569 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.3303, allocations: 4.323 MB / 0.5611 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3303, allocations: 4 kB / 0.5611 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3303, allocations: 0 / 0.5611 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.3304, allocations: 0 / 0.5611 GB, free: 3.441 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003668/0.3341, allocations: 2.857 MB / 0.5639 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3341, allocations: 12.03 kB / 0.5639 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.3389, allocations: 1.549 MB / 0.5654 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.341, allocations: 1.344 MB / 0.5668 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.3411, allocations: 152 kB / 0.5669 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.3414, allocations: 187.8 kB / 0.5671 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008134/0.3495, allocations: 6.246 MB / 0.5732 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.3496, allocations: 15.86 kB / 0.5732 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.3498, allocations: 87.91 kB / 0.5733 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001898/0.3517, allocations: 1.34 MB / 0.5746 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008241/0.36, allocations: 5.323 MB / 0.5798 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.3823, allocations: 20.04 MB / 0.5994 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.3862, allocations: 2.007 MB / 0.6013 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/0.3871, allocations: 0.6914 MB / 0.602 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00565/0.3927, allocations: 3.612 MB / 0.6055 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3928, allocations: 39 kB / 0.6056 GB, free: 4.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/0.3928, allocations: 0 / 0.6056 GB, free: 4.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005247/0.398, allocations: 1.974 MB / 0.6075 GB, free: 2.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3981, allocations: 71.7 kB / 0.6076 GB, free: 2.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.4005, allocations: 1.937 MB / 0.6094 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.4005, allocations: 33.7 kB / 0.6095 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.4017, allocations: 1.837 MB / 0.6113 GB, free: 14.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.4019, allocations: 316.1 kB / 0.6116 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/0.4026, allocations: 0.619 MB / 0.6122 GB, free: 13.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4028, allocations: 353.9 kB / 0.6125 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.404, allocations: 0.8842 MB / 0.6134 GB, free: 12.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.4064, allocations: 2.755 MB / 0.6161 GB, free: 8.902 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.4104, allocations: 3.973 MB / 0.6199 GB, free: 4.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.52e-05/0.4104, allocations: 20 kB / 0.62 GB, free: 3.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005023/0.4155, allocations: 3.515 MB / 0.6234 GB, free: 476 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.4155, allocations: 36 kB / 0.6234 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/0.4156, allocations: 68.12 kB / 0.6235 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-05/0.4157, allocations: 88 kB / 0.6236 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4175, allocations: 0.655 MB / 0.6242 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.88e-05/0.4176, allocations: 135.4 kB / 0.6244 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4192, allocations: 411.5 kB / 0.6247 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.4194, allocations: 191.9 kB / 0.6249 GB, free: 14.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.001582/0.421, allocations: 1.342 MB / 0.6262 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.4212, allocations: 153.9 kB / 0.6264 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.4215, allocations: 196.9 kB / 0.6266 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4215, allocations: 7.922 kB / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4215, allocations: 7.938 kB / 0.6266 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.4218, allocations: 222.8 kB / 0.6268 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4219, allocations: 8 kB / 0.6268 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4223, allocations: 19.98 kB / 0.6268 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.4224, allocations: 36.39 kB / 0.6269 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001244/0.4237, allocations: 0.9448 MB / 0.6278 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001173/0.4248, allocations: 1.135 MB / 0.6289 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004427/0.4253, allocations: 399.5 kB / 0.6293 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.4267, allocations: 1.195 MB / 0.6304 GB, free: 9.195 MB / 494.1 MB Notification: Performance of Backend: time 3.4e-07/0.4267, allocations: 0 / 0.6304 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.4295, allocations: 1.815 MB / 0.6322 GB, free: 7.387 MB / 494.1 MB Notification: Performance of SimCode: time 0.007065/0.4366, allocations: 5.346 MB / 0.6374 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Templates: time 0.03275/0.4693, allocations: 19.47 MB / 0.6564 GB, free: 14.55 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches