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.0009696/0.0009696, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009272/0.0009272, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9578/0.9578, allocations: 177.1 MB / 205 MB, free: 5.605 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.2649/0.2649, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.263e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01344/0.01347, allocations: 9.242 MB / 387.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.01854, allocations: 2.869 MB / 390.1 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01973, allocations: 59.81 kB / 390.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.02224, allocations: 2.146 MB / 392.3 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.02447, allocations: 1.171 MB / 393.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.02506, allocations: 327.1 kB / 393.8 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.02753, allocations: 2.356 MB / 396.2 MB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.02922, allocations: 1.797 MB / 398 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.03063, allocations: 1.298 MB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.03199, allocations: 1.173 MB / 400.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.03233, allocations: 196 kB / 400.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.03325, allocations: 0.6474 MB / 401.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007969/0.03405, allocations: 1.184 MB / 402.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007568/0.03481, allocations: 0.7202 MB / 403.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.0375, allocations: 2.72 MB / 405.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.0375, allocations: 0 / 405.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.03751, allocations: 0 / 405.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.755e-05/0.03757, allocations: 0 / 405.9 MB, free: 6.645 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.003581/0.04115, allocations: 3.138 MB / 409 MB, free: 3.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.04121, allocations: 8.031 kB / 409.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.04422, allocations: 1.871 MB / 410.9 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.04609, allocations: 1.219 MB / 412.1 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.04617, allocations: 152 kB / 412.3 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.04643, allocations: 184.4 kB / 412.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.05093, allocations: 3.317 MB / 415.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.05098, allocations: 15.88 kB / 415.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.05117, allocations: 87.89 kB / 415.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/0.05237, allocations: 1.344 MB / 417.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00406/0.05643, allocations: 1.798 MB / 419 MB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.07327, allocations: 20.62 MB / 439.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.07528, allocations: 0.884 MB / 440.5 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.07561, allocations: 229.8 kB / 440.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003472/0.07908, allocations: 2.572 MB / 443.3 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1603/0.2393, allocations: 38.14 kB / 443.4 MB, free: 94.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 5.25e-06/0.2393, allocations: 0 / 443.4 MB, free: 94.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003073/0.2424, allocations: 1.291 MB / 444.7 MB, free: 94.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2424, allocations: 61.34 kB / 444.7 MB, free: 94.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.2441, allocations: 1.799 MB / 446.5 MB, free: 94.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.2442, allocations: 35.64 kB / 446.6 MB, free: 94.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007492/0.2449, allocations: 2.015 MB / 448.6 MB, free: 93.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.2451, allocations: 334.8 kB / 448.9 MB, free: 93.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.2456, allocations: 0.6718 MB / 449.6 MB, free: 93.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.2457, allocations: 0.5266 MB / 450.1 MB, free: 92.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2462, allocations: 297 kB / 450.4 MB, free: 92.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.2473, allocations: 3.054 MB / 453.4 MB, free: 89.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.2494, allocations: 3.676 MB / 457.1 MB, free: 85.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-05/0.2495, allocations: 19.22 kB / 457.1 MB, free: 85.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002747/0.2522, allocations: 2.502 MB / 459.6 MB, free: 85.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2523, allocations: 34.44 kB / 459.7 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-05/0.2523, allocations: 66.59 kB / 459.7 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.839e-05/0.2524, allocations: 86.84 kB / 459.8 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.2535, allocations: 0.6541 MB / 460.5 MB, free: 85.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.129e-05/0.2536, allocations: 133.2 kB / 460.6 MB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.2549, allocations: 415.8 kB / 461 MB, free: 84.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.2551, allocations: 186.2 kB / 461.2 MB, free: 84.79 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.0007814/0.2558, allocations: 417 kB / 461.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.256, allocations: 170.7 kB / 461.8 MB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.2561, allocations: 167.5 kB / 461.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.2562, allocations: 9.938 kB / 461.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.2562, allocations: 0 / 461.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2562, allocations: 3.375 kB / 461.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.2595, allocations: 2.862 MB / 464.8 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.2596, allocations: 6.438 kB / 464.8 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2598, allocations: 102.4 kB / 464.9 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.2598, allocations: 9.312 kB / 464.9 MB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2598, allocations: 18.19 kB / 464.9 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.2598, allocations: 12.38 kB / 465 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.2598, allocations: 10.62 kB / 465 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.2605, allocations: 0.9086 MB / 465.9 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2606, allocations: 151.4 kB / 466 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.2607, allocations: 21.33 kB / 466 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2609, allocations: 27.67 kB / 466.1 MB, free: 82.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.261, allocations: 59.53 kB / 466.1 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.261, allocations: 29.16 kB / 466.2 MB, free: 82.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007126/0.2617, allocations: 0.7751 MB / 466.9 MB, free: 81.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2617, allocations: 4 kB / 466.9 MB, free: 81.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001639/0.2634, allocations: 0.7077 MB / 467.6 MB, free: 81.48 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.0003045/0.2637, allocations: 142.1 kB / 467.8 MB, free: 81.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.2651, allocations: 1.261 MB / 469 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2651, allocations: 3.406 kB / 469 MB, free: 80.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2653, allocations: 205.9 kB / 469.2 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.266, allocations: 192.1 kB / 469.4 MB, free: 80.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.2714, allocations: 4.394 MB / 473.8 MB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.2719, allocations: 0.7617 MB / 474.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.273, allocations: 0.8076 MB / 475.4 MB, free: 78.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2732, allocations: 110.7 kB / 475.5 MB, free: 78.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2732, allocations: 0 / 475.5 MB, free: 78.03 MB / 410.7 MB Notification: Performance of Templates: time 0.02278/0.296, allocations: 11.5 MB / 487 MB, free: 76.75 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.6257016519084573]