Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001057/0.001057, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001744/0.001744, allocations: 165 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.975/0.975, allocations: 177.1 MB / 205 MB, free: 5.617 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.2876/0.2876, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.718e-05, allocations: 2.312 kB / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009878/0.009905, allocations: 9.239 MB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.01555, allocations: 2.865 MB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.01651, allocations: 59.81 kB / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.01931, allocations: 2.146 MB / 390.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.02137, allocations: 1.182 MB / 391.5 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.02191, allocations: 315.2 kB / 391.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.0243, allocations: 2.372 MB / 394.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.0262, allocations: 1.793 MB / 396 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.02753, allocations: 1.29 MB / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.02903, allocations: 1.181 MB / 398.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.02931, allocations: 192 kB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008843/0.0302, allocations: 0.6435 MB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.03104, allocations: 1.184 MB / 400.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.03174, allocations: 0.7241 MB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.03443, allocations: 2.716 MB / 403.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.03443, allocations: 4 kB / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03443, allocations: 0 / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.507e-05/0.0345, allocations: 0 / 403.9 MB, free: 8.656 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.003793/0.03829, allocations: 3.138 MB / 407 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.03833, allocations: 12.03 kB / 407 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.04137, allocations: 1.875 MB / 408.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.04276, allocations: 1.251 MB / 410.2 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.04284, allocations: 144 kB / 410.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.04305, allocations: 188.2 kB / 410.5 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/0.04749, allocations: 3.317 MB / 413.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.04752, allocations: 11.88 kB / 413.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.04768, allocations: 87.91 kB / 413.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/0.04886, allocations: 1.344 MB / 415.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.0525, allocations: 1.796 MB / 417.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.06711, allocations: 20.62 MB / 437.7 MB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.06898, allocations: 0.8878 MB / 438.6 MB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.06929, allocations: 224 kB / 438.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/0.07248, allocations: 2.588 MB / 441.4 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.07282, allocations: 41.89 kB / 441.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.986e-06/0.07282, allocations: 0 / 441.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002663/0.07549, allocations: 1.292 MB / 442.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.07552, allocations: 59.91 kB / 442.8 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1651/0.2406, allocations: 1.788 MB / 444.5 MB, free: 96.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.2407, allocations: 36.52 kB / 444.6 MB, free: 96.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/0.2414, allocations: 2.017 MB / 446.6 MB, free: 95.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.2416, allocations: 334.9 kB / 446.9 MB, free: 95.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/0.2421, allocations: 0.6685 MB / 447.6 MB, free: 95.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.2422, allocations: 0.5235 MB / 448.1 MB, free: 94.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.2427, allocations: 293.8 kB / 448.4 MB, free: 94.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2438, allocations: 3.052 MB / 451.5 MB, free: 91.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.2459, allocations: 3.683 MB / 455.1 MB, free: 87.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/0.2459, allocations: 19.34 kB / 455.2 MB, free: 87.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002468/0.2484, allocations: 2.492 MB / 457.6 MB, free: 86.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.2484, allocations: 32.53 kB / 457.7 MB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/0.2485, allocations: 66 kB / 457.7 MB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.965e-05/0.2485, allocations: 90.81 kB / 457.8 MB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.2496, allocations: 0.6601 MB / 458.5 MB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.166e-05/0.2497, allocations: 131 kB / 458.6 MB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.2507, allocations: 417.3 kB / 459 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.2509, allocations: 190.7 kB / 459.2 MB, free: 86.67 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.0005928/0.2515, allocations: 411.2 kB / 459.6 MB, free: 86.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.2516, allocations: 176.9 kB / 459.8 MB, free: 86.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2517, allocations: 161.8 kB / 459.9 MB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.2517, allocations: 10.16 kB / 460 MB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2518, allocations: 0 / 460 MB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2518, allocations: 3.188 kB / 460 MB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.2545, allocations: 2.862 MB / 462.8 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2545, allocations: 7.438 kB / 462.8 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.2547, allocations: 102.3 kB / 462.9 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2547, allocations: 9.562 kB / 462.9 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.2547, allocations: 25.34 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.2547, allocations: 14.2 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2548, allocations: 10 kB / 463 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.2553, allocations: 0.9002 MB / 463.9 MB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2554, allocations: 160.2 kB / 464 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.2555, allocations: 17.53 kB / 464.1 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2557, allocations: 32.28 kB / 464.1 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.2558, allocations: 55.22 kB / 464.1 MB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.2558, allocations: 32.44 kB / 464.2 MB, free: 84.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005959/0.2564, allocations: 0.7793 MB / 465 MB, free: 84.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2564, allocations: 3.938 kB / 465 MB, free: 84.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001423/0.2578, allocations: 0.7024 MB / 465.7 MB, free: 83.8 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.0002322/0.2581, allocations: 149.3 kB / 465.8 MB, free: 83.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.2592, allocations: 1.256 MB / 467.1 MB, free: 83.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2592, allocations: 0 / 467.1 MB, free: 83.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2594, allocations: 208.7 kB / 467.3 MB, free: 83.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.26, allocations: 185.4 kB / 467.5 MB, free: 83.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.264, allocations: 4.388 MB / 471.8 MB, free: 80.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.2645, allocations: 0.767 MB / 472.6 MB, free: 80.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009968/0.2655, allocations: 0.8021 MB / 473.4 MB, free: 80.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2657, allocations: 113.6 kB / 473.5 MB, free: 80.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2657, allocations: 0 / 473.5 MB, free: 80.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02233/0.288, allocations: 12.04 MB / 485.6 MB, free: 79.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6566249378956854]