Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.0009567/0.0009567, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009736/0.0009736, allocations: 169 kB / 24.91 MB, free: 9.184 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2735/0.2735, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.094e-05, allocations: 5.25 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.008728/0.008748, allocations: 12.02 MB / 335.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007267/0.01602, allocations: 4.566 MB / 339.9 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009996/0.01702, allocations: 103.5 kB / 340 MB, free: 8.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.02051, allocations: 3.917 MB / 343.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.02361, allocations: 2.305 MB / 346.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.02493, allocations: 1.115 MB / 347.3 MB, free: 1.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.02978, allocations: 6.787 MB / 354.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.03291, allocations: 4.019 MB / 358.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.03607, allocations: 3.887 MB / 362 MB, free: 2.703 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.03861, allocations: 2.802 MB / 364.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004641/0.03907, allocations: 416 kB / 365.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.04065, allocations: 1.439 MB / 366.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.04212, allocations: 2.614 MB / 369.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.04342, allocations: 1.597 MB / 370.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004278/0.0477, allocations: 5.699 MB / 376.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.0477, allocations: 0 / 376.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0477, allocations: 0 / 376.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.997e-05/0.04778, allocations: 4 kB / 376.6 MB, free: 4.102 MB / 346.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.005791/0.05357, allocations: 5.633 MB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.0536, allocations: 8.031 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.05689, allocations: 1.308 MB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.0597, allocations: 2.611 MB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.05983, allocations: 283.5 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.06022, allocations: 376.1 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.06717, allocations: 5.797 MB / 392.6 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.0673, allocations: 55.5 kB / 392.6 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.06763, allocations: 179.8 kB / 392.8 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.06923, allocations: 1.886 MB / 394.7 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.07523, allocations: 2.863 MB / 397.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.1051, allocations: 36.71 MB / 434.2 MB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.1091, allocations: 1.793 MB / 436 MB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.1097, allocations: 335.2 kB / 436.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005796/0.1155, allocations: 3.882 MB / 440.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1155, allocations: 50.5 kB / 440.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.356e-06/0.1155, allocations: 0 / 440.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.009526/0.125, allocations: 4.115 MB / 444.4 MB, free: 13.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1251, allocations: 225.5 kB / 444.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.1282, allocations: 4.048 MB / 448.7 MB, free: 9.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.1282, allocations: 37.7 kB / 448.7 MB, free: 9.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.1298, allocations: 3.681 MB / 452.4 MB, free: 5.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.1301, allocations: 0.5431 MB / 452.9 MB, free: 4.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009149/0.131, allocations: 1.326 MB / 454.3 MB, free: 3.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.1311, allocations: 309.1 kB / 454.6 MB, free: 3.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.1321, allocations: 0.7766 MB / 455.4 MB, free: 2.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1544/0.2864, allocations: 5.199 MB / 460.5 MB, free: 119.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004773/0.2912, allocations: 6.598 MB / 467.1 MB, free: 113.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/0.2914, allocations: 47.41 kB / 467.2 MB, free: 113.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.006532/0.2979, allocations: 4.711 MB / 471.9 MB, free: 112.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.298, allocations: 74.09 kB / 472 MB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/0.2981, allocations: 160.8 kB / 472.1 MB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.2986, allocations: 288.6 kB / 472.4 MB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.3011, allocations: 1.604 MB / 474 MB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3023, allocations: 2.705 MB / 476.7 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.3053, allocations: 311.9 kB / 477 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/0.3057, allocations: 377.7 kB / 477.4 MB, free: 109.5 MB / 426.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.001436/0.3071, allocations: 0.6987 MB / 478.1 MB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.3075, allocations: 231.8 kB / 478.3 MB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.3083, allocations: 0.6448 MB / 479 MB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.3083, allocations: 12.66 kB / 479 MB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3083, allocations: 2.094 kB / 479 MB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3083, allocations: 4.656 kB / 479 MB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.3128, allocations: 3.935 MB / 482.9 MB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.3128, allocations: 8 kB / 482.9 MB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.3132, allocations: 176.1 kB / 483.1 MB, free: 107 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.3136, allocations: 306 kB / 483.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/0.3137, allocations: 26.44 kB / 483.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008795/0.3146, allocations: 2.409 MB / 485.8 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3146, allocations: 15.88 kB / 485.9 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3157, allocations: 1.628 MB / 487.5 MB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.3162, allocations: 377.9 kB / 487.8 MB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.3164, allocations: 33.97 kB / 487.9 MB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.317, allocations: 26.64 kB / 487.9 MB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.3171, allocations: 87.27 kB / 488 MB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3171, allocations: 30.62 kB / 488 MB, free: 102.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.3183, allocations: 1.512 MB / 489.5 MB, free: 101.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3183, allocations: 4 kB / 489.5 MB, free: 101.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003641/0.3219, allocations: 1.089 MB / 490.6 MB, free: 100.6 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.0002765/0.3222, allocations: 148.7 kB / 490.8 MB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.3249, allocations: 2.725 MB / 493.5 MB, free: 98.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001408/0.3251, allocations: 108.2 kB / 493.6 MB, free: 98.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.3254, allocations: 0.492 MB / 494.1 MB, free: 97.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.3273, allocations: 0.7537 MB / 494.8 MB, free: 97.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.3361, allocations: 8.511 MB / 0.4916 GB, free: 89.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.3372, allocations: 1.432 MB / 0.493 GB, free: 87.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.3386, allocations: 0.5695 MB / 0.4935 GB, free: 86.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.3394, allocations: 0.6066 MB / 0.4941 GB, free: 86.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3394, allocations: 0 / 0.4941 GB, free: 86.38 MB / 426.7 MB Notification: Performance of Templates: time 0.04489/0.3842, allocations: 30.47 MB / 0.5239 GB, free: 56.43 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2047453061677516]