Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.0009609/0.0009609, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001013/0.001013, allocations: 162 kB / 24.99 MB, free: 8.746 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.9818/0.9818, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2707/0.2707, allocations: 34.25 MB / 296.1 MB, free: 0.7656 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.788e-05, allocations: 5.547 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007953/0.007981, allocations: 9.204 MB / 387.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.01342, allocations: 2.865 MB / 390.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.01456, allocations: 55.81 kB / 390.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.01709, allocations: 2.13 MB / 392.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.01928, allocations: 1.178 MB / 393.4 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.01985, allocations: 319.2 kB / 393.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002453/0.0223, allocations: 2.359 MB / 396.1 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.02421, allocations: 1.801 MB / 397.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.02575, allocations: 1.294 MB / 399.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.02724, allocations: 1.173 MB / 400.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.02762, allocations: 192 kB / 400.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000929/0.02855, allocations: 0.6473 MB / 401.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008294/0.02938, allocations: 1.188 MB / 402.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008416/0.03022, allocations: 0.7202 MB / 403.1 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.03293, allocations: 2.72 MB / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.03294, allocations: 0 / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.03294, allocations: 0 / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.03299, allocations: 0 / 405.8 MB, free: 7.008 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003232/0.03622, allocations: 3.134 MB / 409 MB, free: 3.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.03627, allocations: 8.031 kB / 409 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.03949, allocations: 1.871 MB / 410.9 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.04094, allocations: 1.23 MB / 412.1 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.04102, allocations: 148 kB / 412.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.04122, allocations: 188.3 kB / 412.4 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.04516, allocations: 3.309 MB / 415.7 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.04519, allocations: 11.88 kB / 415.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.04535, allocations: 91.91 kB / 415.8 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.04656, allocations: 1.344 MB / 417.2 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.05019, allocations: 1.794 MB / 419 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.06643, allocations: 20.62 MB / 439.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.06844, allocations: 0.892 MB / 440.5 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.06877, allocations: 225.9 kB / 440.7 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003214/0.07199, allocations: 2.576 MB / 443.3 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.07201, allocations: 41.89 kB / 443.3 MB, free: 332 kB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.246e-06/0.07202, allocations: 0 / 443.3 MB, free: 332 kB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.1552/0.2272, allocations: 1.287 MB / 444.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2273, allocations: 58.66 kB / 444.7 MB, free: 100 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.2291, allocations: 1.801 MB / 446.5 MB, free: 99.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.2292, allocations: 36.45 kB / 446.5 MB, free: 99.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007751/0.23, allocations: 2.011 MB / 448.5 MB, free: 98.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.2301, allocations: 337.2 kB / 448.8 MB, free: 98.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/0.2306, allocations: 0.6671 MB / 449.5 MB, free: 98.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.2307, allocations: 0.5274 MB / 450 MB, free: 98.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.2312, allocations: 294.3 kB / 450.3 MB, free: 98.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.2323, allocations: 3.051 MB / 453.4 MB, free: 94.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.2343, allocations: 3.692 MB / 457.1 MB, free: 90.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/0.2344, allocations: 17 kB / 457.1 MB, free: 90.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002648/0.237, allocations: 2.502 MB / 459.6 MB, free: 89.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.2371, allocations: 31.41 kB / 459.6 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/0.2371, allocations: 65.84 kB / 459.7 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-05/0.2372, allocations: 88.97 kB / 459.8 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2382, allocations: 0.6508 MB / 460.4 MB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.606e-05/0.2383, allocations: 127.7 kB / 460.5 MB, free: 89.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.2394, allocations: 422.8 kB / 461 MB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.2397, allocations: 188.8 kB / 461.1 MB, free: 88.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.0008763/0.2406, allocations: 413.4 kB / 461.5 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.2407, allocations: 179.7 kB / 461.7 MB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2409, allocations: 156.9 kB / 461.9 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.2409, allocations: 12.69 kB / 461.9 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.2409, allocations: 0 / 461.9 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2409, allocations: 4 kB / 461.9 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.2443, allocations: 2.858 MB / 464.7 MB, free: 86.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.2443, allocations: 6.469 kB / 464.8 MB, free: 86.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.2446, allocations: 106 kB / 464.9 MB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.2446, allocations: 9.719 kB / 464.9 MB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.2447, allocations: 21.06 kB / 464.9 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.2447, allocations: 10.38 kB / 464.9 MB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.2447, allocations: 14.31 kB / 464.9 MB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.2454, allocations: 0.9016 MB / 465.8 MB, free: 86.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.2456, allocations: 154.7 kB / 466 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.2457, allocations: 16.92 kB / 466 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2459, allocations: 28.41 kB / 466 MB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.2459, allocations: 59.03 kB / 466.1 MB, free: 86.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.246, allocations: 37.91 kB / 466.1 MB, free: 86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007074/0.2467, allocations: 0.7785 MB / 466.9 MB, free: 85.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2467, allocations: 0 / 466.9 MB, free: 85.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001813/0.2485, allocations: 0.7049 MB / 467.6 MB, free: 85.46 MB / 410.7 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.0002362/0.2487, allocations: 151.8 kB / 467.7 MB, free: 85.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2501, allocations: 1.248 MB / 469 MB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2502, allocations: 4.469 kB / 469 MB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.2503, allocations: 210.2 kB / 469.2 MB, free: 84.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.251, allocations: 200 kB / 469.4 MB, free: 84.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.2556, allocations: 4.386 MB / 473.8 MB, free: 82.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.2561, allocations: 0.7641 MB / 474.5 MB, free: 82.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0011/0.2572, allocations: 0.8062 MB / 475.3 MB, free: 82.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.2574, allocations: 116.9 kB / 475.5 MB, free: 82 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2574, allocations: 0 / 475.5 MB, free: 82 MB / 410.7 MB Notification: Performance of Templates: time 0.01979/0.2772, allocations: 11.51 MB / 487 MB, free: 80.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.572894548997283]