Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 79.75 kB / 20.52 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 168.8 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 158.6 MB / 185.5 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2017/0.2017, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003334/0.003334, allocations: 67.91 kB / 407.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1463, allocations: 61.05 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2702/0.4165, allocations: 11.01 MB / 479.8 MB, free: 43.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006274/0.4228, allocations: 3.223 MB / 483 MB, free: 43.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.4241, allocations: 68.62 kB / 483.1 MB, free: 43.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.4278, allocations: 2.584 MB / 485.7 MB, free: 42.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.4309, allocations: 1.406 MB / 487.1 MB, free: 41.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.4319, allocations: 342.4 kB / 487.4 MB, free: 41.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.435, allocations: 2.876 MB / 490.3 MB, free: 40.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.4372, allocations: 2.445 MB / 492.7 MB, free: 39.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.4387, allocations: 1.215 MB / 494 MB, free: 39.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.4405, allocations: 1.646 MB / 495.6 MB, free: 38.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.4409, allocations: 294.6 kB / 495.9 MB, free: 38.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.4421, allocations: 0.6909 MB / 496.6 MB, free: 38.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.4433, allocations: 1.597 MB / 498.2 MB, free: 37.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.4445, allocations: 1.345 MB / 499.5 MB, free: 36.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.4505, allocations: 6.04 MB / 0.4937 GB, free: 34.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4505, allocations: 3.938 kB / 0.4937 GB, free: 34.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4505, allocations: 0 / 0.4937 GB, free: 34.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002023/0.4507, allocations: 0 / 0.4937 GB, free: 34.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.008201/0.4589, allocations: 3.772 MB / 0.4974 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.459, allocations: 12.66 kB / 0.4974 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006781/0.4658, allocations: 1.771 MB / 0.4991 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.4694, allocations: 1.606 MB / 0.5007 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.4695, allocations: 207.7 kB / 0.5009 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.47, allocations: 258.8 kB / 0.5012 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.4838, allocations: 8.368 MB / 0.5093 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/0.4839, allocations: 21.75 kB / 0.5093 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.4842, allocations: 131.1 kB / 0.5095 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003021/0.4872, allocations: 1.756 MB / 0.5112 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.5014, allocations: 7 MB / 0.518 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03149/0.5329, allocations: 23.37 MB / 0.5408 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.5372, allocations: 2.088 MB / 0.5429 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5382, allocations: 0.8843 MB / 0.5437 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007791/0.546, allocations: 3.868 MB / 0.5475 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5461, allocations: 47.55 kB / 0.5476 GB, free: 12.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 3.296e-06/0.5461, allocations: 0 / 0.5476 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.007458/0.5535, allocations: 2.876 MB / 0.5504 GB, free: 9.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.5536, allocations: 64.34 kB / 0.5504 GB, free: 9.234 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.5574, allocations: 2.18 MB / 0.5526 GB, free: 7.055 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.5575, allocations: 41.7 kB / 0.5526 GB, free: 7.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.5596, allocations: 2.421 MB / 0.555 GB, free: 4.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/0.5601, allocations: 484.3 kB / 0.5554 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5613, allocations: 0.7466 MB / 0.5562 GB, free: 3.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5615, allocations: 361.9 kB / 0.5565 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.5633, allocations: 1.12 MB / 0.5576 GB, free: 1.852 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.5668, allocations: 3.291 MB / 0.5608 GB, free: 13.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006525/0.5734, allocations: 4.818 MB / 0.5655 GB, free: 7.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.189e-05/0.5734, allocations: 20 kB / 0.5655 GB, free: 7.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008421/0.5819, allocations: 4.321 MB / 0.5698 GB, free: 3.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.5819, allocations: 36 kB / 0.5698 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.202e-05/0.582, allocations: 76 kB / 0.5699 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.5821, allocations: 100 kB / 0.57 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.5846, allocations: 0.8188 MB / 0.5708 GB, free: 2.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/0.5847, allocations: 147.4 kB / 0.5709 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.5872, allocations: 490.1 kB / 0.5714 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.5875, allocations: 228 kB / 0.5716 GB, free: 1.395 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002998/0.5905, allocations: 1.704 MB / 0.5733 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/0.5909, allocations: 190.7 kB / 0.5734 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.5935, allocations: 1.512 MB / 0.5749 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.5936, allocations: 12 kB / 0.5749 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5936, allocations: 0 / 0.5749 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5936, allocations: 7.984 kB / 0.5749 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.6048, allocations: 6.03 MB / 0.5808 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.6048, allocations: 12 kB / 0.5808 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.6056, allocations: 187.6 kB / 0.581 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/0.6056, allocations: 20 kB / 0.581 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.6057, allocations: 39.98 kB / 0.5811 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-05/0.6057, allocations: 35.8 kB / 0.5811 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-05/0.6057, allocations: 23.94 kB / 0.5811 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.6086, allocations: 1.976 MB / 0.5831 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.609, allocations: 202.4 kB / 0.5832 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.6092, allocations: 39.98 kB / 0.5833 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.6099, allocations: 47.95 kB / 0.5833 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6101, allocations: 115.5 kB / 0.5834 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6102, allocations: 51.98 kB / 0.5835 GB, free: 4.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001924/0.6121, allocations: 1.256 MB / 0.5847 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6121, allocations: 0 / 0.5847 GB, free: 3.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003447/0.6156, allocations: 0.9729 MB / 0.5857 GB, free: 2.516 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.00035/0.6159, allocations: 166.8 kB / 0.5858 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004169/0.6201, allocations: 2.538 MB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.6201, allocations: 0 / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6211, allocations: 0.6759 MB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.6225, allocations: 227.3 kB / 0.5892 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.6345, allocations: 6.989 MB / 0.596 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.6377, allocations: 2.28 MB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002716/0.6404, allocations: 1.129 MB / 0.5993 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.6408, allocations: 156.5 kB / 0.5995 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.6408, allocations: 0 / 0.5995 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of Templates: time 0.03633/0.6771, allocations: 14.96 MB / 0.6141 GB, free: 5.219 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.963903037947603]