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.001423/0.001423, allocations: 117.7 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.001532/0.001532, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, 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.2128/0.2128, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3122, allocations: 62.43 MB / 0.5316 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01102/0.3233, allocations: 9.523 MB / 0.5409 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.33, allocations: 2.913 MB / 0.5438 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3321, allocations: 49.31 kB / 0.5438 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.3362, allocations: 2.001 MB / 0.5458 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.3395, allocations: 1.106 MB / 0.5469 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.3404, allocations: 290.3 kB / 0.5472 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.3439, allocations: 2.327 MB / 0.5494 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.3471, allocations: 2.314 MB / 0.5517 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.3487, allocations: 0.8722 MB / 0.5525 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.3507, allocations: 1.156 MB / 0.5537 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006401/0.3513, allocations: 192 kB / 0.5538 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.353, allocations: 0.7021 MB / 0.5545 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.3544, allocations: 1.114 MB / 0.5556 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.3564, allocations: 1.301 MB / 0.5569 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.3623, allocations: 4.321 MB / 0.5611 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3624, allocations: 11.94 kB / 0.5611 GB, free: 3.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3624, allocations: 0 / 0.5611 GB, free: 3.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001764/0.3626, allocations: 0 / 0.5611 GB, free: 3.602 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.006501/0.3691, allocations: 2.849 MB / 0.5639 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3691, allocations: 12.03 kB / 0.5639 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.3743, allocations: 1.565 MB / 0.5654 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.3769, allocations: 1.34 MB / 0.5668 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.377, allocations: 144 kB / 0.5669 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.3774, allocations: 187.8 kB / 0.5671 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3875, allocations: 6.246 MB / 0.5732 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.3876, allocations: 11.88 kB / 0.5732 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3879, allocations: 91.89 kB / 0.5733 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/0.39, allocations: 1.344 MB / 0.5746 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.4005, allocations: 5.331 MB / 0.5798 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02724/0.4278, allocations: 20.03 MB / 0.5994 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.4321, allocations: 2.014 MB / 0.6013 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.4331, allocations: 0.6914 MB / 0.602 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006233/0.4394, allocations: 3.604 MB / 0.6055 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4395, allocations: 39 kB / 0.6055 GB, free: 4.852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.287e-06/0.4395, allocations: 0 / 0.6055 GB, free: 4.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005211/0.4447, allocations: 1.977 MB / 0.6075 GB, free: 2.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4447, allocations: 63.78 kB / 0.6075 GB, free: 2.789 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.4478, allocations: 1.941 MB / 0.6094 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.4479, allocations: 33.7 kB / 0.6095 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4493, allocations: 1.837 MB / 0.6113 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.4496, allocations: 316.1 kB / 0.6116 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008791/0.4505, allocations: 0.619 MB / 0.6122 GB, free: 13.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4507, allocations: 353.9 kB / 0.6125 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.452, allocations: 0.8842 MB / 0.6134 GB, free: 12.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.4547, allocations: 2.755 MB / 0.6161 GB, free: 9.066 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/0.4588, allocations: 3.968 MB / 0.6199 GB, free: 4.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.344e-05/0.4589, allocations: 16 kB / 0.6199 GB, free: 4.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005447/0.4644, allocations: 3.526 MB / 0.6234 GB, free: 0.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.4644, allocations: 32 kB / 0.6234 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.847e-05/0.4645, allocations: 64 kB / 0.6235 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.4647, allocations: 88 kB / 0.6236 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.4665, allocations: 0.6549 MB / 0.6242 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/0.4666, allocations: 131.5 kB / 0.6243 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.4686, allocations: 419.9 kB / 0.6247 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.4689, allocations: 184 kB / 0.6249 GB, free: 15.07 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.002073/0.471, allocations: 1.346 MB / 0.6262 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.4713, allocations: 161.9 kB / 0.6264 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.4717, allocations: 192.9 kB / 0.6266 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.4717, allocations: 11.94 kB / 0.6266 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.4718, allocations: 4 kB / 0.6266 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4718, allocations: 3.984 kB / 0.6266 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/0.4789, allocations: 4.021 MB / 0.6305 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.4789, allocations: 8 kB / 0.6305 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.4793, allocations: 103.8 kB / 0.6306 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/0.4794, allocations: 16 kB / 0.6306 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.4794, allocations: 20 kB / 0.6306 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.4794, allocations: 11.98 kB / 0.6307 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.4795, allocations: 11.94 kB / 0.6307 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4811, allocations: 1.27 MB / 0.6319 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.4815, allocations: 246.8 kB / 0.6321 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.4818, allocations: 19.98 kB / 0.6322 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.4823, allocations: 31.89 kB / 0.6322 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.4824, allocations: 47.83 kB / 0.6322 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.4825, allocations: 35.98 kB / 0.6323 GB, free: 7.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.4844, allocations: 1.267 MB / 0.6335 GB, free: 5.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4844, allocations: 4 kB / 0.6335 GB, free: 5.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002563/0.487, allocations: 0.6766 MB / 0.6342 GB, free: 5.289 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003201/0.4873, allocations: 146.9 kB / 0.6343 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.4904, allocations: 2.045 MB / 0.6363 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.4905, allocations: 4.812 kB / 0.6363 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.491, allocations: 476.1 kB / 0.6368 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4925, allocations: 249.7 kB / 0.637 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5032, allocations: 5.347 MB / 0.6422 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/0.5066, allocations: 2.279 MB / 0.6445 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.5071, allocations: 143.4 kB / 0.6446 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.432e-06/0.5072, allocations: 4 kB / 0.6446 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.04942/0.5566, allocations: 30.18 MB / 0.6741 GB, free: 12.35 MB / 0.5294 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