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.001484/0.001484, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001505/0.001505, allocations: 161 kB / 24.56 MB, free: 8 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.9582/0.9582, allocations: 177.1 MB / 205 MB, free: 5.625 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.2492/0.2492, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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.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 1.733e-06/1.733e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.653e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01215/0.01217, allocations: 12.28 MB / 390.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007699/0.01987, allocations: 4.419 MB / 394.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.02167, allocations: 103.5 kB / 394.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.02576, allocations: 3.987 MB / 398.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.03006, allocations: 2.333 MB / 401.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.03165, allocations: 1.127 MB / 402.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006683/0.03833, allocations: 6.793 MB / 409.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.04251, allocations: 4.158 MB / 413.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004999/0.04751, allocations: 3.977 MB / 417.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.05069, allocations: 2.927 MB / 420.2 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009174/0.05161, allocations: 423.9 kB / 420.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.05338, allocations: 1.396 MB / 422 MB, free: 6.523 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.05523, allocations: 2.63 MB / 424.6 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.05714, allocations: 1.593 MB / 426.2 MB, free: 2.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005938/0.06308, allocations: 5.695 MB / 431.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.06308, allocations: 0 / 431.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.06308, allocations: 4 kB / 431.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001452/0.06323, allocations: 0 / 431.9 MB, free: 12.57 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.008256/0.07148, allocations: 6.632 MB / 438.5 MB, free: 5.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.07152, allocations: 8.031 kB / 438.5 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/0.07788, allocations: 3.021 MB / 441.5 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1675/0.2454, allocations: 3.149 MB / 444.7 MB, free: 91.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.2456, allocations: 282.6 kB / 445 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009332/0.2465, allocations: 383.9 kB / 445.3 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008993/0.2555, allocations: 7.268 MB / 452.6 MB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.2557, allocations: 57.58 kB / 452.7 MB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.256, allocations: 179.2 kB / 452.8 MB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001631/0.2576, allocations: 2.038 MB / 454.9 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008237/0.2658, allocations: 3.693 MB / 458.6 MB, free: 87.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.2975, allocations: 51.57 MB / 0.4982 GB, free: 45.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.3026, allocations: 2.012 MB / 0.5001 GB, free: 45.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008951/0.3035, allocations: 488.1 kB / 0.5006 GB, free: 44.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007164/0.3107, allocations: 4.383 MB / 0.5049 GB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3107, allocations: 59.95 kB / 0.505 GB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 5.189e-06/0.3107, allocations: 0 / 0.505 GB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01497/0.3257, allocations: 9.354 MB / 0.5141 GB, free: 38.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3258, allocations: 216 kB / 0.5143 GB, free: 37.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.3308, allocations: 4.554 MB / 0.5187 GB, free: 35.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.3309, allocations: 41.7 kB / 0.5188 GB, free: 35.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.3326, allocations: 4.19 MB / 0.5229 GB, free: 32.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.333, allocations: 0.5508 MB / 0.5234 GB, free: 31.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.3341, allocations: 1.527 MB / 0.5249 GB, free: 30.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.3342, allocations: 484.7 kB / 0.5254 GB, free: 29.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3353, allocations: 0.6261 MB / 0.526 GB, free: 29.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.338, allocations: 7.398 MB / 0.5332 GB, free: 19.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/0.3425, allocations: 8.745 MB / 0.5417 GB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/0.3426, allocations: 54.77 kB / 0.5418 GB, free: 7.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.00634/0.3489, allocations: 5.835 MB / 0.5475 GB, free: 1.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.349, allocations: 81.81 kB / 0.5476 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.3491, allocations: 160 kB / 0.5477 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.3495, allocations: 286.4 kB / 0.548 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.3517, allocations: 1.588 MB / 0.5495 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.3537, allocations: 3.813 MB / 0.5533 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.357, allocations: 447.2 kB / 0.5537 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/0.3574, allocations: 431.9 kB / 0.5541 GB, free: 11.36 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.001605/0.359, allocations: 0.7475 MB / 0.5548 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/0.3596, allocations: 428.6 kB / 0.5552 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009744/0.3606, allocations: 0.7506 MB / 0.556 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.3606, allocations: 12 kB / 0.556 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3606, allocations: 4 kB / 0.556 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.3606, allocations: 7.266 kB / 0.556 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006761/0.3674, allocations: 4.751 MB / 0.5606 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.3674, allocations: 8 kB / 0.5606 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3678, allocations: 180.4 kB / 0.5608 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.3681, allocations: 87.25 kB / 0.5609 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.3681, allocations: 27.98 kB / 0.5609 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.3697, allocations: 3.507 MB / 0.5644 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.3697, allocations: 15.94 kB / 0.5644 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.3718, allocations: 2.048 MB / 0.5664 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.3724, allocations: 405.1 kB / 0.5668 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.3726, allocations: 27.98 kB / 0.5668 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.3734, allocations: 97.19 kB / 0.5669 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3735, allocations: 91.62 kB / 0.567 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.3735, allocations: 40 kB / 0.567 GB, free: 14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.3757, allocations: 1.959 MB / 0.5689 GB, free: 12.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3757, allocations: 0 / 0.5689 GB, free: 12.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003858/0.3796, allocations: 1.102 MB / 0.57 GB, free: 10.95 MB / 442.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.0003385/0.3799, allocations: 170.8 kB / 0.5702 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.384, allocations: 3.16 MB / 0.5732 GB, free: 7.605 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.384, allocations: 0.8125 kB / 0.5732 GB, free: 7.605 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.3845, allocations: 0.6665 MB / 0.5739 GB, free: 6.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.3861, allocations: 0.5235 MB / 0.5744 GB, free: 6.398 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.3977, allocations: 8.641 MB / 0.5828 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.399, allocations: 1.452 MB / 0.5843 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002926/0.402, allocations: 1.766 MB / 0.586 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.4025, allocations: 260.5 kB / 0.5862 GB, free: 10.06 MB / 458.7 MB Notification: Performance of SimCode: time 3.296e-06/0.4025, allocations: 0 / 0.5862 GB, free: 10.06 MB / 458.7 MB Notification: Performance of Templates: time 0.1803/0.5828, allocations: 28.51 MB / 0.6141 GB, free: 136.5 MB / 474.7 MB " [Timeout remaining time 659] 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 -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: 4.333699273876846]