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.00125/0.00125, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001465/0.001465, allocations: 194 kB / 18.12 MB, free: 5.363 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.388/1.388, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.21/0.21, allocations: 44.17 MB / 336.1 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.09 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0371/0.1534, allocations: 37.69 MB / 0.4943 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.1701, allocations: 7.576 MB / 0.5017 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006239/0.1764, allocations: 155.6 kB / 0.5019 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2495/0.4259, allocations: 1.983 MB / 0.5038 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.4301, allocations: 1.074 MB / 0.5049 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.4312, allocations: 265.5 kB / 0.5051 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006158/0.4374, allocations: 3.398 MB / 0.5084 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.4412, allocations: 2.316 MB / 0.5107 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.443, allocations: 0.8018 MB / 0.5115 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.4454, allocations: 1.24 MB / 0.5127 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.446, allocations: 151.1 kB / 0.5128 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.4478, allocations: 0.6967 MB / 0.5135 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.449, allocations: 1.115 MB / 0.5146 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.4503, allocations: 1.309 MB / 0.5159 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.455, allocations: 4.254 MB / 0.52 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.455, allocations: 0 / 0.52 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4551, allocations: 0 / 0.52 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.4552, allocations: 0 / 0.52 GB, free: 8.863 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.006336/0.4615, allocations: 2.938 MB / 0.5229 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4616, allocations: 8.531 kB / 0.5229 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.4664, allocations: 1.585 MB / 0.5245 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.4691, allocations: 1.341 MB / 0.5258 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.4692, allocations: 147.3 kB / 0.5259 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.4696, allocations: 189.5 kB / 0.5261 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.4799, allocations: 6.445 MB / 0.5324 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.48, allocations: 13.59 kB / 0.5324 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.4803, allocations: 87.78 kB / 0.5325 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001975/0.4823, allocations: 1.399 MB / 0.5339 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.4932, allocations: 5.493 MB / 0.5392 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0327/0.526, allocations: 20.6 MB / 0.5593 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.5302, allocations: 2.004 MB / 0.5613 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009436/0.5312, allocations: 0.6994 MB / 0.562 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/0.5377, allocations: 3.642 MB / 0.5655 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.5377, allocations: 38.94 kB / 0.5656 GB, free: 2.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.5378, allocations: 0 / 0.5656 GB, free: 2.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005221/0.543, allocations: 1.981 MB / 0.5675 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.543, allocations: 58.84 kB / 0.5676 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.5459, allocations: 1.958 MB / 0.5695 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.5459, allocations: 37.7 kB / 0.5695 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.5473, allocations: 1.887 MB / 0.5714 GB, free: 12.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.5476, allocations: 309.6 kB / 0.5717 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000869/0.5485, allocations: 0.6293 MB / 0.5723 GB, free: 11.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.5487, allocations: 353.9 kB / 0.5726 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.5502, allocations: 0.892 MB / 0.5735 GB, free: 10.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.553, allocations: 2.772 MB / 0.5762 GB, free: 6.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.5579, allocations: 4 MB / 0.5801 GB, free: 2.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/0.5579, allocations: 20 kB / 0.5801 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005446/0.5634, allocations: 3.556 MB / 0.5836 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.5635, allocations: 32 kB / 0.5836 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.711e-05/0.5636, allocations: 71.98 kB / 0.5837 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.843e-05/0.5637, allocations: 88 kB / 0.5838 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.5655, allocations: 0.6538 MB / 0.5844 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001346/0.5657, allocations: 134.4 kB / 0.5845 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.5692, allocations: 421.9 kB / 0.5849 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/0.5696, allocations: 188 kB / 0.5851 GB, free: 13.45 MB / 446.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.005001/0.5747, allocations: 1.372 MB / 0.5865 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/0.5752, allocations: 161.4 kB / 0.5866 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.5757, allocations: 201.2 kB / 0.5868 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/0.5757, allocations: 12 kB / 0.5868 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.5758, allocations: 0 / 0.5868 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5758, allocations: 3.984 kB / 0.5868 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5865, allocations: 4.093 MB / 0.5908 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.5866, allocations: 16.02 kB / 0.5908 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.5872, allocations: 100.1 kB / 0.5909 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.5872, allocations: 11.94 kB / 0.5909 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.5873, allocations: 23.98 kB / 0.591 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.5873, allocations: 11 kB / 0.591 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.5874, allocations: 10.62 kB / 0.591 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.5897, allocations: 1.27 MB / 0.5922 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.5904, allocations: 246.8 kB / 0.5925 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.5906, allocations: 26.25 kB / 0.5925 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/0.5914, allocations: 23.98 kB / 0.5925 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.5916, allocations: 53.64 kB / 0.5926 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/0.5917, allocations: 35.98 kB / 0.5926 GB, free: 5.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002919/0.5946, allocations: 1.287 MB / 0.5938 GB, free: 4.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5947, allocations: 0 / 0.5938 GB, free: 4.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005142/0.5998, allocations: 0.7144 MB / 0.5945 GB, free: 3.656 MB / 446.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.0004832/0.6003, allocations: 143.7 kB / 0.5947 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004945/0.6053, allocations: 2.035 MB / 0.5967 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6053, allocations: 8.188 kB / 0.5967 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.6062, allocations: 454.1 kB / 0.5971 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.6084, allocations: 243.7 kB / 0.5973 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.6241, allocations: 6.541 MB / 0.6037 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/0.6278, allocations: 2.32 MB / 0.606 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004014/0.6319, allocations: 0.9562 MB / 0.6069 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/0.6324, allocations: 127.4 kB / 0.607 GB, free: 6.941 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6324, allocations: 0 / 0.607 GB, free: 6.941 MB / 462.1 MB Notification: Performance of Templates: time 0.03898/0.6714, allocations: 13.94 MB / 0.6207 GB, free: 9.102 MB / 478.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