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.0009707/0.0009707, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000984/0.000984, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8994/0.8994, allocations: 177.1 MB / 206 MB, free: 4.5 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.1333/0.1333, allocations: 34.26 MB / 296.8 MB, free: 13.93 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 1.293e-06/1.293e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.744e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.007461/0.007479, allocations: 11.97 MB / 391.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.01307, allocations: 4.382 MB / 395.7 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.01389, allocations: 99.5 kB / 395.7 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.0167, allocations: 3.933 MB / 399.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.01921, allocations: 2.337 MB / 402 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.02056, allocations: 1.123 MB / 403.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.02591, allocations: 6.806 MB / 409.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.02954, allocations: 4.154 MB / 414.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.03338, allocations: 3.996 MB / 418.1 MB, free: 432 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.03592, allocations: 2.919 MB / 421 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.03632, allocations: 420 kB / 421.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.03784, allocations: 1.396 MB / 422.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.03927, allocations: 2.614 MB / 425.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.04046, allocations: 1.601 MB / 427 MB, free: 7.461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.0446, allocations: 5.699 MB / 432.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.04461, allocations: 4 kB / 432.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04461, allocations: 0 / 432.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.784e-05/0.04466, allocations: 0 / 432.7 MB, free: 1.738 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.006082/0.05074, allocations: 6.311 MB / 439.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.05077, allocations: 8.031 kB / 439.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/0.05594, allocations: 2.116 MB / 441.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.05931, allocations: 2.765 MB / 443.9 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.05945, allocations: 279.5 kB / 444.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.05985, allocations: 384.1 kB / 444.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006571/0.06643, allocations: 6.505 MB / 451.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.06656, allocations: 55.56 kB / 451.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.0669, allocations: 183.8 kB / 451.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.06845, allocations: 1.889 MB / 453.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.0731, allocations: 2.811 MB / 456 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1895/0.2626, allocations: 51.3 MB / 0.4954 GB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.2664, allocations: 1.773 MB / 0.4972 GB, free: 56.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.2668, allocations: 415.8 kB / 0.4976 GB, free: 56.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004422/0.2712, allocations: 4.175 MB / 0.5016 GB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2712, allocations: 57.66 kB / 0.5017 GB, free: 55.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.615e-06/0.2713, allocations: 0 / 0.5017 GB, free: 55.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01026/0.2815, allocations: 4.608 MB / 0.5062 GB, free: 54.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2815, allocations: 222.7 kB / 0.5064 GB, free: 54.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.2845, allocations: 4.514 MB / 0.5108 GB, free: 53.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.2845, allocations: 40.98 kB / 0.5109 GB, free: 53.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.2858, allocations: 4.228 MB / 0.515 GB, free: 51.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.2861, allocations: 0.5652 MB / 0.5155 GB, free: 50.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009756/0.2871, allocations: 1.553 MB / 0.517 GB, free: 50.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.2871, allocations: 481.6 kB / 0.5175 GB, free: 50.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/0.2879, allocations: 0.5577 MB / 0.5181 GB, free: 50.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.2903, allocations: 7.367 MB / 0.5252 GB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.2943, allocations: 8.645 MB / 0.5337 GB, free: 32.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.331e-05/0.2943, allocations: 44 kB / 0.5337 GB, free: 32.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.004874/0.2992, allocations: 5.477 MB / 0.5391 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.2992, allocations: 75.56 kB / 0.5392 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/0.2993, allocations: 163.9 kB / 0.5393 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.2996, allocations: 283.9 kB / 0.5396 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.3016, allocations: 1.547 MB / 0.5411 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.3026, allocations: 3.763 MB / 0.5448 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.3049, allocations: 321.6 kB / 0.5451 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.3051, allocations: 379.6 kB / 0.5454 GB, free: 22.02 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.0009497/0.3061, allocations: 0.7413 MB / 0.5462 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.3064, allocations: 429.8 kB / 0.5466 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.307, allocations: 0.7126 MB / 0.5473 GB, free: 20.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.307, allocations: 12 kB / 0.5473 GB, free: 20.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.307, allocations: 4 kB / 0.5473 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.307, allocations: 3.984 kB / 0.5473 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3112, allocations: 4.689 MB / 0.5519 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.3112, allocations: 8.719 kB / 0.5519 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.3115, allocations: 167.7 kB / 0.552 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.3117, allocations: 79.25 kB / 0.5521 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.3118, allocations: 28.66 kB / 0.5521 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000715/0.3125, allocations: 3.469 MB / 0.5555 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3125, allocations: 12.25 kB / 0.5555 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3135, allocations: 1.958 MB / 0.5574 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.3138, allocations: 389.1 kB / 0.5578 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.314, allocations: 30.5 kB / 0.5578 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.3146, allocations: 28.53 kB / 0.5579 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.3147, allocations: 79.75 kB / 0.5579 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.3148, allocations: 36 kB / 0.558 GB, free: 9.367 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.3159, allocations: 1.825 MB / 0.5598 GB, free: 7.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3159, allocations: 0 / 0.5598 GB, free: 7.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002534/0.3184, allocations: 1.099 MB / 0.5608 GB, free: 6.633 MB / 410.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.0002157/0.3186, allocations: 170.8 kB / 0.561 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.3208, allocations: 3.013 MB / 0.5639 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3208, allocations: 8.125 kB / 0.5639 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.3211, allocations: 0.6403 MB / 0.5646 GB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.3226, allocations: 0.5202 MB / 0.5651 GB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/0.3302, allocations: 8.611 MB / 0.5735 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.3313, allocations: 1.448 MB / 0.5749 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.3324, allocations: 0.5742 MB / 0.5755 GB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/0.3332, allocations: 0.6582 MB / 0.5761 GB, free: 6.879 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3332, allocations: 0 / 0.5761 GB, free: 6.879 MB / 426.7 MB Notification: Performance of Templates: time 0.0458/0.379, allocations: 31.18 MB / 0.6066 GB, free: 8.367 MB / 458.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 -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.146895017940551]