Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 90.58 kB / 21.43 MB, free: 3.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 167.7 kB / 24.82 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9722/0.9722, allocations: 177 MB / 205.1 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.025e-05, allocations: 3.016 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01035/0.01037, allocations: 11.99 MB / 391.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006455/0.01682, allocations: 4.388 MB / 395.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/0.01759, allocations: 103.5 kB / 395.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.02118, allocations: 3.929 MB / 399.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.02442, allocations: 2.337 MB / 402 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.02571, allocations: 1.115 MB / 403.1 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.0304, allocations: 6.803 MB / 409.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.03346, allocations: 4.151 MB / 414 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.03702, allocations: 3.992 MB / 418 MB, free: 10.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.03951, allocations: 2.927 MB / 421 MB, free: 7.902 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.03994, allocations: 416 kB / 421.4 MB, free: 7.496 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.04153, allocations: 1.396 MB / 422.8 MB, free: 6.098 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.04296, allocations: 2.618 MB / 425.4 MB, free: 3.473 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.04407, allocations: 1.597 MB / 427 MB, free: 1.871 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.04815, allocations: 5.699 MB / 432.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.04816, allocations: 0 / 432.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.04816, allocations: 0 / 432.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.841e-05/0.04819, allocations: 0 / 432.7 MB, free: 12.15 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.005786/0.05398, allocations: 6.307 MB / 439 MB, free: 5.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.05403, allocations: 16.02 kB / 439 MB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.05874, allocations: 2.108 MB / 441.1 MB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.06158, allocations: 2.788 MB / 443.9 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.0617, allocations: 283.5 kB / 444.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.06208, allocations: 376.1 kB / 444.5 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.169/0.2311, allocations: 6.5 MB / 451 MB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2312, allocations: 51.56 kB / 451.1 MB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.2315, allocations: 184.2 kB / 451.3 MB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.2327, allocations: 1.887 MB / 453.2 MB, free: 88.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.237, allocations: 2.809 MB / 456 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/0.264, allocations: 51.32 MB / 0.4954 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.2676, allocations: 1.752 MB / 0.4971 GB, free: 46.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.2681, allocations: 415.1 kB / 0.4975 GB, free: 46.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004913/0.273, allocations: 4.193 MB / 0.5016 GB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.2731, allocations: 59.7 kB / 0.5017 GB, free: 44.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.607e-06/0.2731, allocations: 0 / 0.5017 GB, free: 44.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01155/0.2846, allocations: 4.609 MB / 0.5062 GB, free: 43.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.2847, allocations: 223.9 kB / 0.5064 GB, free: 43.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.2894, allocations: 4.511 MB / 0.5108 GB, free: 41.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.2895, allocations: 42.02 kB / 0.5108 GB, free: 41.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/0.2914, allocations: 4.231 MB / 0.5149 GB, free: 37.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.2917, allocations: 0.5668 MB / 0.5155 GB, free: 37.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.2929, allocations: 1.55 MB / 0.517 GB, free: 36.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.293, allocations: 477.5 kB / 0.5175 GB, free: 36.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.2939, allocations: 0.5564 MB / 0.518 GB, free: 36.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.2968, allocations: 7.378 MB / 0.5252 GB, free: 26.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/0.301, allocations: 8.623 MB / 0.5336 GB, free: 15.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-05/0.301, allocations: 48 kB / 0.5337 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.004871/0.3059, allocations: 5.484 MB / 0.539 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.3059, allocations: 79.94 kB / 0.5391 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.3061, allocations: 160 kB / 0.5393 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.3064, allocations: 280.8 kB / 0.5395 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.3084, allocations: 1.547 MB / 0.541 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.3096, allocations: 3.77 MB / 0.5447 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.3118, allocations: 307.1 kB / 0.545 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.3121, allocations: 380 kB / 0.5454 GB, free: 4.281 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 853 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001156/0.3132, allocations: 0.754 MB / 0.5461 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.3136, allocations: 425.3 kB / 0.5465 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.3142, allocations: 0.704 MB / 0.5472 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3143, allocations: 14.62 kB / 0.5472 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3143, allocations: 11.94 kB / 0.5472 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3143, allocations: 3.938 kB / 0.5472 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.3197, allocations: 4.695 MB / 0.5518 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.3197, allocations: 8 kB / 0.5518 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.3201, allocations: 163.8 kB / 0.552 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.3203, allocations: 79.45 kB / 0.5521 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.3203, allocations: 31.23 kB / 0.5521 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3217, allocations: 3.467 MB / 0.5555 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3217, allocations: 11.94 kB / 0.5555 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3231, allocations: 1.948 MB / 0.5574 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.3235, allocations: 391.3 kB / 0.5578 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.3237, allocations: 35.19 kB / 0.5578 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.3243, allocations: 27.94 kB / 0.5578 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.3244, allocations: 82.67 kB / 0.5579 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.3244, allocations: 35.52 kB / 0.5579 GB, free: 7.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00148/0.3259, allocations: 1.821 MB / 0.5597 GB, free: 6.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 0 / 0.5597 GB, free: 6.188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003151/0.329, allocations: 1.094 MB / 0.5608 GB, free: 5.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (97): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.3293, allocations: 174.9 kB / 0.561 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.3324, allocations: 3.017 MB / 0.5639 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3324, allocations: 0 / 0.5639 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.3329, allocations: 0.6439 MB / 0.5645 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.3344, allocations: 0.5107 MB / 0.565 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.3447, allocations: 8.629 MB / 0.5735 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.346, allocations: 1.452 MB / 0.5749 GB, free: 6.414 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001242/0.3473, allocations: 0.5703 MB / 0.5754 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008104/0.3481, allocations: 0.6582 MB / 0.5761 GB, free: 5.184 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3481, allocations: 0 / 0.5761 GB, free: 5.184 MB / 442.7 MB Notification: Performance of Templates: time 0.04539/0.3935, allocations: 30.52 MB / 0.6059 GB, free: 7.023 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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: 4.413701606914401]