Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001041/0.001041, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002401, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001042/0.001042, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002369, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9561/0.9561, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08987/1.046, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.2522/0.2522, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02457/0.2768, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.688e-05, allocations: 2.312 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01288/0.0129, allocations: 12.12 MB / 304.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.0242, allocations: 4.617 MB / 309.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.02724, allocations: 99.5 kB / 309.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00623/0.03347, allocations: 3.765 MB / 313.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.04023, allocations: 2.305 MB / 315.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.04277, allocations: 1.029 MB / 316.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009326/0.0521, allocations: 6.266 MB / 322.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005574/0.05767, allocations: 3.777 MB / 326.6 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007882/0.06555, allocations: 3.791 MB / 330.4 MB, free: 320 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.07043, allocations: 2.782 MB / 333.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.07159, allocations: 416 kB / 333.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.07398, allocations: 1.432 MB / 335 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.07571, allocations: 2.346 MB / 337.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.07745, allocations: 1.301 MB / 338.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.08234, allocations: 5.286 MB / 344 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.08235, allocations: 0 / 344 MB, free: 2.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08235, allocations: 0 / 344 MB, free: 2.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001978/0.08255, allocations: 0 / 344 MB, free: 2.723 MB / 330.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.006613/0.08917, allocations: 6.748 MB / 350.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.0892, allocations: 8.031 kB / 350.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.09209, allocations: 1.304 MB / 352 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.0949, allocations: 2.611 MB / 354.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.09503, allocations: 279.5 kB / 354.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/0.09539, allocations: 372.2 kB / 355.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005462/0.1009, allocations: 5.797 MB / 361.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.1009, allocations: 63.53 kB / 361.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/0.1012, allocations: 175.8 kB / 361.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.1028, allocations: 1.905 MB / 363.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/0.107, allocations: 2.848 MB / 366 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.13, allocations: 36.69 MB / 402.7 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.1335, allocations: 1.747 MB / 404.5 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.1339, allocations: 337.2 kB / 404.8 MB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004376/0.1383, allocations: 3.819 MB / 408.6 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1383, allocations: 50.5 kB / 408.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 3.867e-06/0.1383, allocations: 0 / 408.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.008216/0.1465, allocations: 4.019 MB / 412.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1466, allocations: 181.7 kB / 412.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.1494, allocations: 4.044 MB / 416.9 MB, free: 7.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.1494, allocations: 49.69 kB / 417 MB, free: 7.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.1509, allocations: 3.677 MB / 420.6 MB, free: 3.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.1512, allocations: 0.5353 MB / 421.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009127/0.1521, allocations: 1.33 MB / 422.5 MB, free: 1.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.1522, allocations: 305.1 kB / 422.8 MB, free: 1.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.1532, allocations: 0.7766 MB / 423.6 MB, free: 352 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.156, allocations: 5.207 MB / 428.8 MB, free: 8.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1495/0.3055, allocations: 6.598 MB / 435.4 MB, free: 101.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001804/0.3057, allocations: 46.41 kB / 435.4 MB, free: 101.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.00551/0.3112, allocations: 4.698 MB / 440.1 MB, free: 101 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3113, allocations: 74.81 kB / 440.2 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.3114, allocations: 165.9 kB / 440.4 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.3118, allocations: 286 kB / 440.7 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.3142, allocations: 1.71 MB / 442.4 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.3153, allocations: 2.707 MB / 445.1 MB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.318, allocations: 318.3 kB / 445.4 MB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.3182, allocations: 373.2 kB / 445.7 MB, free: 98.66 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.001132/0.3194, allocations: 0.701 MB / 446.4 MB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.3197, allocations: 233.1 kB / 446.7 MB, free: 98.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.3203, allocations: 0.6413 MB / 447.3 MB, free: 98.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3203, allocations: 13.12 kB / 447.3 MB, free: 98.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3203, allocations: 3.625 kB / 447.3 MB, free: 98.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3204, allocations: 6.188 kB / 447.3 MB, free: 98.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.324, allocations: 3.927 MB / 451.3 MB, free: 97.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.324, allocations: 7.781 kB / 451.3 MB, free: 97.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.3244, allocations: 191 kB / 451.5 MB, free: 97.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.3248, allocations: 384.9 kB / 451.8 MB, free: 97.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.3252, allocations: 310.1 kB / 452.1 MB, free: 97.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.3252, allocations: 21.78 kB / 452.2 MB, free: 97.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006974/0.3259, allocations: 2.41 MB / 454.6 MB, free: 95.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3259, allocations: 14.75 kB / 454.6 MB, free: 95.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.3269, allocations: 1.634 MB / 456.2 MB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.3271, allocations: 27.91 kB / 456.2 MB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.3277, allocations: 30.25 kB / 456.3 MB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.3278, allocations: 86.08 kB / 456.4 MB, free: 94.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.3278, allocations: 28.31 kB / 456.4 MB, free: 94.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3289, allocations: 1.507 MB / 457.9 MB, free: 93.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 457.9 MB, free: 93.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002506/0.3314, allocations: 1.101 MB / 459 MB, free: 93.98 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.0002429/0.3316, allocations: 154.5 kB / 459.1 MB, free: 93.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3337, allocations: 2.715 MB / 461.9 MB, free: 93.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001582/0.3338, allocations: 122.5 kB / 462 MB, free: 93.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3342, allocations: 0.4959 MB / 462.5 MB, free: 92.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.3358, allocations: 1.03 MB / 463.5 MB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.3455, allocations: 8.731 MB / 472.2 MB, free: 85.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.3465, allocations: 1.452 MB / 473.7 MB, free: 84.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.3476, allocations: 0.5638 MB / 474.2 MB, free: 84.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/0.3483, allocations: 0.6139 MB / 474.9 MB, free: 83.97 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3483, allocations: 0 / 474.9 MB, free: 83.97 MB / 426.7 MB Notification: Performance of Templates: time 0.04051/0.3889, allocations: 31.26 MB / 0.4943 GB, free: 54.49 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.925314350053668]