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.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.0008621/0.0008621, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 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.00303/0.00303, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8639/0.8639, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.156e-05, allocations: 2.844 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.165/0.165, allocations: 8.915 MB / 449.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003939/0.169, allocations: 2.924 MB / 452.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/0.1695, allocations: 62.75 kB / 452.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.1717, allocations: 2.664 MB / 455.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.173, allocations: 1.243 MB / 456.6 MB, free: 38.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.1735, allocations: 390.4 kB / 457 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.175, allocations: 2.583 MB / 459.6 MB, free: 37.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.1762, allocations: 2.249 MB / 461.9 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.1771, allocations: 1.552 MB / 463.4 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/0.1779, allocations: 1.337 MB / 464.7 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1781, allocations: 251.4 kB / 465 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006339/0.1787, allocations: 0.703 MB / 465.7 MB, free: 35.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.1792, allocations: 1.411 MB / 467.1 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.1797, allocations: 0.8763 MB / 468 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.1822, allocations: 5.087 MB / 473.1 MB, free: 32.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1822, allocations: 8 kB / 473.1 MB, free: 32.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1822, allocations: 0 / 473.1 MB, free: 32.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.1823, allocations: 0 / 473.1 MB, free: 32.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.002768/0.185, allocations: 3.239 MB / 476.3 MB, free: 30.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1851, allocations: 9 kB / 476.3 MB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.1876, allocations: 1.644 MB / 478 MB, free: 29.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.189, allocations: 1.443 MB / 479.4 MB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.1891, allocations: 180.5 kB / 479.6 MB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.1893, allocations: 228.5 kB / 479.8 MB, free: 29.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008332/0.1976, allocations: 7.128 MB / 486.9 MB, free: 26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.1977, allocations: 17.16 kB / 487 MB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.1979, allocations: 111.1 kB / 487.1 MB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.1996, allocations: 1.443 MB / 488.5 MB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008077/0.2077, allocations: 5.947 MB / 494.5 MB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.2243, allocations: 20.3 MB / 0.5027 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.2267, allocations: 1.78 MB / 0.5044 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.2272, allocations: 0.7034 MB / 0.5051 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/0.2305, allocations: 3.312 MB / 0.5083 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2306, allocations: 51.16 kB / 0.5084 GB, free: 3.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.026e-06/0.2306, allocations: 0 / 0.5084 GB, free: 3.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003737/0.2343, allocations: 2.386 MB / 0.5107 GB, free: 1.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2343, allocations: 60.06 kB / 0.5108 GB, free: 1.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.236, allocations: 2.017 MB / 0.5128 GB, free: 15.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.236, allocations: 33.7 kB / 0.5128 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.237, allocations: 2.114 MB / 0.5149 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.2372, allocations: 350.4 kB / 0.5152 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005495/0.2378, allocations: 0.6512 MB / 0.5158 GB, free: 12.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003713/0.2381, allocations: 345.9 kB / 0.5162 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.2391, allocations: 0.9313 MB / 0.5171 GB, free: 10.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.2408, allocations: 2.872 MB / 0.5199 GB, free: 6.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.2441, allocations: 4.151 MB / 0.5239 GB, free: 1.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.2441, allocations: 23.94 kB / 0.5239 GB, free: 1.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003885/0.248, allocations: 3.707 MB / 0.5276 GB, free: 14.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.2481, allocations: 35.94 kB / 0.5276 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/0.2481, allocations: 68 kB / 0.5277 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.637e-05/0.2482, allocations: 92 kB / 0.5277 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.2494, allocations: 0.6823 MB / 0.5284 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.807e-05/0.2495, allocations: 131.5 kB / 0.5285 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.2511, allocations: 436.8 kB / 0.529 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.2513, allocations: 192 kB / 0.5291 GB, free: 12.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * 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.001915/0.2532, allocations: 1.509 MB / 0.5306 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.2534, allocations: 170.8 kB / 0.5308 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.2536, allocations: 205 kB / 0.531 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.2536, allocations: 15.94 kB / 0.531 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2536, allocations: 0 / 0.531 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2536, allocations: 3.984 kB / 0.531 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.258, allocations: 3.788 MB / 0.5347 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.258, allocations: 8 kB / 0.5347 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.2583, allocations: 115.8 kB / 0.5348 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.2583, allocations: 12 kB / 0.5348 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.2583, allocations: 21.25 kB / 0.5348 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.2583, allocations: 19.92 kB / 0.5349 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.2583, allocations: 19.88 kB / 0.5349 GB, free: 6.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2597, allocations: 1.373 MB / 0.5362 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2599, allocations: 162.7 kB / 0.5364 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.26, allocations: 27.98 kB / 0.5364 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.2602, allocations: 23.98 kB / 0.5364 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.2603, allocations: 75.67 kB / 0.5365 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.2604, allocations: 35.98 kB / 0.5365 GB, free: 4.613 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.2614, allocations: 1.155 MB / 0.5377 GB, free: 3.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2614, allocations: 0 / 0.5377 GB, free: 3.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00211/0.2635, allocations: 0.8094 MB / 0.5384 GB, free: 2.652 MB / 442.7 MB 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.0003323/0.2638, allocations: 151.4 kB / 0.5386 GB, free: 2.496 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.2662, allocations: 2.08 MB / 0.5406 GB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2662, allocations: 0 / 0.5406 GB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.2666, allocations: 486.6 kB / 0.5411 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.2674, allocations: 219.2 kB / 0.5413 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.2754, allocations: 6.088 MB / 0.5472 GB, free: 9.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/0.2771, allocations: 1.957 MB / 0.5492 GB, free: 7.527 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.2775, allocations: 148.5 kB / 0.5493 GB, free: 7.383 MB / 458.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2775, allocations: 0 / 0.5493 GB, free: 7.383 MB / 458.7 MB Notification: Performance of Templates: time 0.03742/0.3149, allocations: 33.26 MB / 0.5818 GB, free: 6.172 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.579786363057792]