Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 116.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001277, 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.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2998, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01008/0.3099, allocations: 9.525 MB / 0.541 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.3153, allocations: 2.918 MB / 0.5438 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.3162, allocations: 47.38 kB / 0.5439 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.3196, allocations: 1.991 MB / 0.5458 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.3222, allocations: 1.111 MB / 0.5469 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.3229, allocations: 289.8 kB / 0.5472 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.3261, allocations: 2.334 MB / 0.5494 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3285, allocations: 2.293 MB / 0.5517 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3297, allocations: 0.88 MB / 0.5525 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.3312, allocations: 1.153 MB / 0.5537 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.3316, allocations: 196 kB / 0.5539 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3328, allocations: 0.7021 MB / 0.5545 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008307/0.3336, allocations: 1.11 MB / 0.5556 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.3348, allocations: 1.305 MB / 0.5569 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.3389, allocations: 4.327 MB / 0.5611 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3389, allocations: 0 / 0.5611 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3389, allocations: 4 kB / 0.5611 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.459e-05/0.339, allocations: 3.938 kB / 0.5611 GB, free: 3.434 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.004337/0.3433, allocations: 2.853 MB / 0.5639 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3434, allocations: 8.031 kB / 0.5639 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/0.348, allocations: 1.561 MB / 0.5654 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.3502, allocations: 1.34 MB / 0.5668 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/0.3503, allocations: 148 kB / 0.5669 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.3506, allocations: 187.8 kB / 0.5671 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008583/0.3592, allocations: 6.25 MB / 0.5732 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.3593, allocations: 11.88 kB / 0.5732 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.3595, allocations: 87.91 kB / 0.5733 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/0.3613, allocations: 1.34 MB / 0.5746 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008419/0.3697, allocations: 5.331 MB / 0.5798 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.3926, allocations: 20.03 MB / 0.5994 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.3966, allocations: 2.007 MB / 0.6013 GB, free: 9.184 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000864/0.3975, allocations: 0.6978 MB / 0.602 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005723/0.4032, allocations: 3.608 MB / 0.6055 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4033, allocations: 39 kB / 0.6056 GB, free: 4.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.056e-06/0.4033, allocations: 0 / 0.6056 GB, free: 4.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005306/0.4086, allocations: 1.977 MB / 0.6075 GB, free: 2.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4086, allocations: 59.78 kB / 0.6075 GB, free: 2.625 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.411, allocations: 1.941 MB / 0.6094 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.4111, allocations: 33.7 kB / 0.6095 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.4121, allocations: 1.836 MB / 0.6113 GB, free: 14.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.4123, allocations: 312.1 kB / 0.6116 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006507/0.413, allocations: 0.619 MB / 0.6122 GB, free: 13.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4131, allocations: 353.9 kB / 0.6125 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.4143, allocations: 0.888 MB / 0.6134 GB, free: 12.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.4167, allocations: 2.759 MB / 0.6161 GB, free: 8.902 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.4203, allocations: 3.969 MB / 0.6199 GB, free: 4.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/0.4204, allocations: 20 kB / 0.62 GB, free: 3.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004653/0.425, allocations: 3.53 MB / 0.6234 GB, free: 464 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.4251, allocations: 32 kB / 0.6234 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-05/0.4252, allocations: 68 kB / 0.6235 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.508e-05/0.4252, allocations: 84 kB / 0.6236 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.427, allocations: 0.655 MB / 0.6242 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.092e-05/0.4271, allocations: 131.4 kB / 0.6243 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4287, allocations: 416 kB / 0.6247 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.4289, allocations: 192 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.001676/0.4306, allocations: 1.342 MB / 0.6262 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.4307, allocations: 157.8 kB / 0.6264 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4311, allocations: 192.9 kB / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4311, allocations: 3.984 kB / 0.6266 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4311, allocations: 7.938 kB / 0.6266 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.4313, allocations: 222.9 kB / 0.6268 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.4315, allocations: 8 kB / 0.6268 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.4319, allocations: 19.97 kB / 0.6268 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.4319, allocations: 28.41 kB / 0.6268 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001287/0.4332, allocations: 0.9448 MB / 0.6278 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/0.4346, allocations: 1.143 MB / 0.6289 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004676/0.435, allocations: 407.5 kB / 0.6293 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.4365, allocations: 1.195 MB / 0.6304 GB, free: 9.188 MB / 494.1 MB Notification: Performance of Backend: time 2.51e-07/0.4365, allocations: 0 / 0.6304 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002935/0.4394, allocations: 1.812 MB / 0.6322 GB, free: 7.379 MB / 494.1 MB Notification: Performance of SimCode: time 0.007451/0.4469, allocations: 5.326 MB / 0.6374 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Templates: time 0.03568/0.4826, allocations: 19.48 MB / 0.6564 GB, free: 14.56 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches