Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,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.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 98.64 kB / 17 MB, free: 6.414 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.001173/0.001174, allocations: 188 kB / 17.89 MB, free: 5.945 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.532/1.532, allocations: 223.2 MB / 241.9 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.23 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 12 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.03535/0.1601, allocations: 34.1 MB / 0.4938 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.1764, allocations: 7.203 MB / 0.5009 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007091/0.1835, allocations: 151.7 kB / 0.501 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004961/0.1885, allocations: 1.501 MB / 0.5025 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2842/0.4727, allocations: 4.397 MB / 0.5068 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.4751, allocations: 244.9 kB / 0.507 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005808/0.4809, allocations: 2.625 MB / 0.5096 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006559/0.4875, allocations: 2.978 MB / 0.5125 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.4894, allocations: 0.6831 MB / 0.5132 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.4917, allocations: 1.028 MB / 0.5142 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004099/0.4921, allocations: 91.06 kB / 0.5142 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.4937, allocations: 0.532 MB / 0.5148 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.4953, allocations: 0.9869 MB / 0.5157 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.4961, allocations: 0.5235 MB / 0.5162 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005441/0.5016, allocations: 3.419 MB / 0.5196 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5016, allocations: 0 / 0.5196 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5016, allocations: 0 / 0.5196 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.5018, allocations: 0 / 0.5196 GB, free: 10.64 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.007088/0.5089, allocations: 2.455 MB / 0.522 GB, free: 9.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.509, allocations: 9.625 kB / 0.522 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007828/0.5168, allocations: 1.63 MB / 0.5236 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.5196, allocations: 1.319 MB / 0.5249 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.5198, allocations: 153.7 kB / 0.525 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005514/0.5203, allocations: 187.5 kB / 0.5252 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.5348, allocations: 6.421 MB / 0.5315 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.5349, allocations: 14.19 kB / 0.5315 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007399/0.5357, allocations: 88.39 kB / 0.5316 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.538, allocations: 1.407 MB / 0.5329 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.5562, allocations: 5.461 MB / 0.5383 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04423/0.6005, allocations: 20.58 MB / 0.5584 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.607, allocations: 2.002 MB / 0.5603 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6082, allocations: 0.6879 MB / 0.561 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006933/0.6151, allocations: 3.642 MB / 0.5645 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6152, allocations: 40.31 kB / 0.5646 GB, free: 14.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.108e-06/0.6152, allocations: 0 / 0.5646 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.00532/0.6205, allocations: 1.978 MB / 0.5665 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.6206, allocations: 55.84 kB / 0.5666 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.6247, allocations: 1.954 MB / 0.5685 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.6248, allocations: 33.7 kB / 0.5685 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.6263, allocations: 1.886 MB / 0.5704 GB, free: 9.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.6267, allocations: 311.5 kB / 0.5707 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.6269, allocations: 56 kB / 0.5707 GB, free: 8.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003494/0.6272, allocations: 0.4895 MB / 0.5712 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.6288, allocations: 0.8803 MB / 0.572 GB, free: 7.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.6316, allocations: 2.765 MB / 0.5747 GB, free: 3.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.634, allocations: 1.564 MB / 0.5763 GB, free: 2.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-05/0.634, allocations: 16 kB / 0.5763 GB, free: 2.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005988/0.64, allocations: 3.524 MB / 0.5797 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.6401, allocations: 40.02 kB / 0.5798 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.951e-05/0.6402, allocations: 68 kB / 0.5798 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.6403, allocations: 96 kB / 0.5799 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.6423, allocations: 0.6589 MB / 0.5806 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/0.6424, allocations: 135.4 kB / 0.5807 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.6448, allocations: 420.6 kB / 0.5811 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/0.6451, allocations: 192 kB / 0.5813 GB, free: 13.48 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002834/0.6479, allocations: 1.381 MB / 0.5826 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.6483, allocations: 157.9 kB / 0.5828 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.6488, allocations: 193.2 kB / 0.583 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.6488, allocations: 12 kB / 0.583 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6488, allocations: 4 kB / 0.583 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6488, allocations: 3.984 kB / 0.583 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008473/0.6573, allocations: 4.092 MB / 0.587 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.6574, allocations: 8 kB / 0.587 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.6578, allocations: 99.83 kB / 0.5871 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.6578, allocations: 8 kB / 0.5871 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.6579, allocations: 29.42 kB / 0.5871 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.6579, allocations: 19.94 kB / 0.5871 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.6579, allocations: 7.938 kB / 0.5871 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.6596, allocations: 1.263 MB / 0.5884 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/0.6603, allocations: 258.7 kB / 0.5886 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.6606, allocations: 20 kB / 0.5886 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.6613, allocations: 27.88 kB / 0.5887 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.6614, allocations: 59.78 kB / 0.5887 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.6615, allocations: 35.08 kB / 0.5888 GB, free: 5.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.664, allocations: 1.275 MB / 0.59 GB, free: 4.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.664, allocations: 0 / 0.59 GB, free: 4.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003663/0.6677, allocations: 0.6997 MB / 0.5907 GB, free: 3.59 MB / 430.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 (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.0005138/0.6682, allocations: 146.6 kB / 0.5908 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.6722, allocations: 2.021 MB / 0.5928 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.6722, allocations: 1.875 kB / 0.5928 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.6729, allocations: 461.1 kB / 0.5932 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6746, allocations: 236.5 kB / 0.5935 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.6871, allocations: 6.294 MB / 0.5996 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/0.6905, allocations: 2.324 MB / 0.6019 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002926/0.6935, allocations: 0.9601 MB / 0.6028 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006068/0.6941, allocations: 131.4 kB / 0.6029 GB, free: 6.898 MB / 446.1 MB Notification: Performance of SimCode: time 2.244e-06/0.6942, allocations: 0 / 0.6029 GB, free: 6.898 MB / 446.1 MB Notification: Performance of Templates: time 0.03246/0.7266, allocations: 13.59 MB / 0.6162 GB, free: 9.398 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches