Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008425/0.0008425, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003549/0.003549, allocations: 160 kB / 24.7 MB, free: 9.43 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.8473/0.8473, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.785e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1737/0.1737, allocations: 8.925 MB / 452.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1772, allocations: 2.928 MB / 455.3 MB, free: 37.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.1777, allocations: 60.03 kB / 455.3 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.1799, allocations: 2.664 MB / 458 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1815, allocations: 1.248 MB / 459.2 MB, free: 35.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.182, allocations: 381.9 kB / 459.6 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1837, allocations: 2.585 MB / 462.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.1854, allocations: 2.253 MB / 464.5 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.1866, allocations: 1.548 MB / 466 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1877, allocations: 1.333 MB / 467.3 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.1879, allocations: 249.8 kB / 467.6 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.1888, allocations: 0.7017 MB / 468.3 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006196/0.1894, allocations: 1.419 MB / 469.7 MB, free: 31.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004979/0.1899, allocations: 0.8756 MB / 470.6 MB, free: 31.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.1927, allocations: 5.086 MB / 475.7 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1927, allocations: 3.031 kB / 475.7 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1927, allocations: 3.938 kB / 475.7 MB, free: 29.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.1927, allocations: 0 / 475.7 MB, free: 29.76 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.002736/0.1955, allocations: 3.241 MB / 478.9 MB, free: 27.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1955, allocations: 8.906 kB / 478.9 MB, free: 27.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.1979, allocations: 1.629 MB / 480.5 MB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.1995, allocations: 1.453 MB / 482 MB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.1995, allocations: 174.5 kB / 482.2 MB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.1998, allocations: 234 kB / 482.4 MB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007157/0.207, allocations: 7.128 MB / 489.5 MB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.207, allocations: 17.34 kB / 489.5 MB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.2072, allocations: 106.8 kB / 489.7 MB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.2087, allocations: 1.442 MB / 491.1 MB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007181/0.2159, allocations: 5.949 MB / 497 MB, free: 21.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.2308, allocations: 20.32 MB / 0.5052 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.2331, allocations: 1.757 MB / 0.507 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.2336, allocations: 0.7034 MB / 0.5076 GB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00313/0.2367, allocations: 3.32 MB / 0.5109 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.2368, allocations: 39.16 kB / 0.5109 GB, free: 15.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.527e-06/0.2368, allocations: 0 / 0.5109 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.0036/0.2404, allocations: 2.402 MB / 0.5133 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2404, allocations: 56.06 kB / 0.5133 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2421, allocations: 2.017 MB / 0.5153 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.2422, allocations: 29.7 kB / 0.5153 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/0.243, allocations: 2.114 MB / 0.5174 GB, free: 9.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.2431, allocations: 345.4 kB / 0.5177 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/0.2438, allocations: 0.6512 MB / 0.5183 GB, free: 8.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.2439, allocations: 345.9 kB / 0.5187 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.2447, allocations: 0.9406 MB / 0.5196 GB, free: 6.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.2462, allocations: 2.876 MB / 0.5224 GB, free: 3.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.2489, allocations: 4.149 MB / 0.5265 GB, free: 14.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.249, allocations: 20 kB / 0.5265 GB, free: 14.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003171/0.2521, allocations: 3.696 MB / 0.5301 GB, free: 10.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.2522, allocations: 39.94 kB / 0.5301 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.2522, allocations: 68 kB / 0.5302 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.919e-05/0.2523, allocations: 92 kB / 0.5303 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.2535, allocations: 0.6862 MB / 0.5309 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.875e-05/0.2535, allocations: 136 kB / 0.5311 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.2546, allocations: 436.7 kB / 0.5315 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.2548, allocations: 200 kB / 0.5317 GB, free: 8.68 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.001675/0.2564, allocations: 1.504 MB / 0.5331 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2565, allocations: 166.8 kB / 0.5333 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.2567, allocations: 201 kB / 0.5335 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.2567, allocations: 12 kB / 0.5335 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2567, allocations: 3.938 kB / 0.5335 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2567, allocations: 0 / 0.5335 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/0.2605, allocations: 3.781 MB / 0.5372 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2605, allocations: 8 kB / 0.5372 GB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2607, allocations: 123.9 kB / 0.5373 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.2607, allocations: 15.98 kB / 0.5373 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.2608, allocations: 23.98 kB / 0.5374 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-06/0.2608, allocations: 12 kB / 0.5374 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.2608, allocations: 15.88 kB / 0.5374 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2619, allocations: 1.381 MB / 0.5387 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.262, allocations: 162.7 kB / 0.5389 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.2621, allocations: 16 kB / 0.5389 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.2623, allocations: 31.97 kB / 0.5389 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.2624, allocations: 71.67 kB / 0.539 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.2624, allocations: 32.88 kB / 0.539 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009322/0.2634, allocations: 1.159 MB / 0.5402 GB, free: 15.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2634, allocations: 3.938 kB / 0.5402 GB, free: 15.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00172/0.2651, allocations: 0.8094 MB / 0.541 GB, free: 14.88 MB / 458.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.0002522/0.2653, allocations: 147.5 kB / 0.5411 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.2671, allocations: 2.08 MB / 0.5431 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2671, allocations: 4 kB / 0.5431 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.2675, allocations: 481.3 kB / 0.5436 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.2682, allocations: 223.3 kB / 0.5438 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.274, allocations: 6.093 MB / 0.5498 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.2757, allocations: 1.953 MB / 0.5517 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.276, allocations: 148.5 kB / 0.5518 GB, free: 3.609 MB / 458.7 MB Notification: Performance of SimCode: time 1.283e-06/0.276, allocations: 0 / 0.5518 GB, free: 3.609 MB / 458.7 MB Notification: Performance of Templates: time 0.02945/0.3054, allocations: 33.26 MB / 0.5843 GB, free: 2.41 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.276544310152531]