Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001276/0.001276, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.289/1.289, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1944/0.1944, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3304, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01083/0.3413, allocations: 10.52 MB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006686/0.348, allocations: 3.098 MB / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.3497, allocations: 55.5 kB / 0.5329 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.3545, allocations: 2.616 MB / 0.5355 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.3579, allocations: 1.222 MB / 0.5367 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.3589, allocations: 352.7 kB / 0.537 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0038/0.3627, allocations: 2.591 MB / 0.5395 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.3663, allocations: 3.033 MB / 0.5425 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.3682, allocations: 1.092 MB / 0.5435 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.3701, allocations: 1.411 MB / 0.5449 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004715/0.3706, allocations: 260 kB / 0.5452 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.372, allocations: 0.7607 MB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3732, allocations: 1.407 MB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.3748, allocations: 1.631 MB / 0.5489 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.3799, allocations: 5.357 MB / 0.5541 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.38, allocations: 0 / 0.5541 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.38, allocations: 0 / 0.5541 GB, free: 8.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001199/0.3801, allocations: 0 / 0.5541 GB, free: 8.727 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005392/0.3855, allocations: 3.402 MB / 0.5574 GB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3855, allocations: 8.031 kB / 0.5574 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.3906, allocations: 1.658 MB / 0.5591 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.3946, allocations: 1.551 MB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.3947, allocations: 185.1 kB / 0.5608 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.3952, allocations: 239.8 kB / 0.561 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.4058, allocations: 7.489 MB / 0.5683 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.4059, allocations: 15.86 kB / 0.5683 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.4062, allocations: 111.9 kB / 0.5684 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/0.4083, allocations: 1.568 MB / 0.57 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.419, allocations: 6.257 MB / 0.5761 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03463/0.4537, allocations: 23.14 MB / 0.5987 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.4585, allocations: 2.197 MB / 0.6008 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4597, allocations: 0.7659 MB / 0.6016 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007356/0.4671, allocations: 3.888 MB / 0.6054 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.4672, allocations: 43.12 kB / 0.6054 GB, free: 2.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 4.088e-06/0.4672, allocations: 0 / 0.6054 GB, free: 2.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.00633/0.4735, allocations: 2.244 MB / 0.6076 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4736, allocations: 67.97 kB / 0.6076 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/0.4778, allocations: 2.101 MB / 0.6097 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.4778, allocations: 37.7 kB / 0.6097 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.4796, allocations: 2.12 MB / 0.6118 GB, free: 12.19 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.4801, allocations: 355.5 kB / 0.6121 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.4812, allocations: 0.6586 MB / 0.6128 GB, free: 11.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4813, allocations: 301.1 kB / 0.6131 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4828, allocations: 0.9431 MB / 0.614 GB, free: 9.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.4859, allocations: 2.913 MB / 0.6168 GB, free: 6.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/0.4907, allocations: 4.218 MB / 0.621 GB, free: 0.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/0.4908, allocations: 24 kB / 0.621 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005568/0.4964, allocations: 3.751 MB / 0.6246 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.4964, allocations: 40.02 kB / 0.6247 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/0.4965, allocations: 72 kB / 0.6248 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.192e-05/0.4966, allocations: 92 kB / 0.6248 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.4984, allocations: 0.694 MB / 0.6255 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.4985, allocations: 139.4 kB / 0.6256 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.5005, allocations: 443.2 kB / 0.6261 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.5007, allocations: 200 kB / 0.6263 GB, free: 11.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (388): * Single equations (assignments): 383 * 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.002234/0.503, allocations: 1.562 MB / 0.6278 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.5032, allocations: 177.6 kB / 0.628 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.5036, allocations: 218.7 kB / 0.6282 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.5036, allocations: 11.98 kB / 0.6282 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5036, allocations: 0 / 0.6282 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5036, allocations: 3.984 kB / 0.6282 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007644/0.5113, allocations: 5.079 MB / 0.6331 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.5113, allocations: 8 kB / 0.6331 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.5118, allocations: 111.8 kB / 0.6333 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.5118, allocations: 12 kB / 0.6333 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.5119, allocations: 27.92 kB / 0.6333 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.5119, allocations: 15.94 kB / 0.6333 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.5119, allocations: 15.88 kB / 0.6333 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5135, allocations: 1.403 MB / 0.6347 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.514, allocations: 286.4 kB / 0.635 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5142, allocations: 23.94 kB / 0.635 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.5147, allocations: 35.88 kB / 0.635 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.5148, allocations: 59.83 kB / 0.6351 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.028e-05/0.5149, allocations: 39.97 kB / 0.6351 GB, free: 1.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.5167, allocations: 1.477 MB / 0.6366 GB, free: 496 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.5167, allocations: 0 / 0.6366 GB, free: 496 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.002849/0.5196, allocations: 0.8164 MB / 0.6374 GB, free: 15.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.00031/0.5199, allocations: 146.9 kB / 0.6375 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003142/0.523, allocations: 2.196 MB / 0.6396 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5231, allocations: 0 / 0.6396 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.5237, allocations: 0.4982 MB / 0.6401 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.5253, allocations: 310.4 kB / 0.6404 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.5372, allocations: 6.302 MB / 0.6466 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/0.5408, allocations: 2.607 MB / 0.6491 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.5414, allocations: 159.4 kB / 0.6493 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of SimCode: time 1.113e-06/0.5414, allocations: 0 / 0.6493 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.05738/0.5988, allocations: 35.13 MB / 0.6836 GB, free: 208 kB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches