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.001689/0.001689, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00179/0.00179, allocations: 161 kB / 24.56 MB, free: 16 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.9431/0.9431, allocations: 177.1 MB / 205 MB, free: 5.617 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.2571/0.2571, allocations: 34.26 MB / 295.7 MB, free: 0.6602 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.774e-06/1.774e-06, allocations: 0 / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.694e-05, allocations: 2.312 kB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01316/0.01319, allocations: 12.28 MB / 390.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006872/0.02006, allocations: 4.415 MB / 394.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.02117, allocations: 103.5 kB / 394.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.02521, allocations: 3.995 MB / 398.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.02861, allocations: 2.325 MB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.02999, allocations: 1.119 MB / 402.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005618/0.03561, allocations: 6.809 MB / 409.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.03915, allocations: 4.143 MB / 413.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.04197, allocations: 3.017 MB / 416.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.04473, allocations: 2.958 MB / 419.2 MB, free: 9.246 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000967/0.0457, allocations: 420 kB / 419.6 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.0474, allocations: 1.393 MB / 421 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.04895, allocations: 2.626 MB / 423.6 MB, free: 4.809 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.05042, allocations: 1.597 MB / 425.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.05548, allocations: 5.695 MB / 430.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.05549, allocations: 0 / 430.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.05549, allocations: 4 kB / 430.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.05556, allocations: 0 / 430.9 MB, free: 13.49 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.007362/0.06292, allocations: 6.565 MB / 437.5 MB, free: 6.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.06296, allocations: 8.031 kB / 437.5 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.06938, allocations: 3.106 MB / 440.6 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.07391, allocations: 3.295 MB / 443.9 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.07405, allocations: 279.5 kB / 444.2 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1471/0.2212, allocations: 376.7 kB / 444.6 MB, free: 91.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0083/0.2295, allocations: 7.279 MB / 451.8 MB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.2296, allocations: 56.39 kB / 451.9 MB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.2299, allocations: 181.3 kB / 452.1 MB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001792/0.2317, allocations: 2.14 MB / 454.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.2387, allocations: 3.888 MB / 458.1 MB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.2635, allocations: 51.31 MB / 0.4975 GB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/0.2683, allocations: 2.132 MB / 0.4995 GB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.2693, allocations: 0.6658 MB / 0.5002 GB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004974/0.2743, allocations: 4.263 MB / 0.5044 GB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2743, allocations: 55.55 kB / 0.5044 GB, free: 43.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.897e-06/0.2743, allocations: 0 / 0.5044 GB, free: 43.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02291/0.2973, allocations: 13.53 MB / 0.5176 GB, free: 37.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2973, allocations: 221.5 kB / 0.5178 GB, free: 37.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.3007, allocations: 4.388 MB / 0.5221 GB, free: 34.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.3008, allocations: 49.7 kB / 0.5222 GB, free: 34.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.3021, allocations: 4.065 MB / 0.5261 GB, free: 30.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.3024, allocations: 0.7016 MB / 0.5268 GB, free: 29.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.3035, allocations: 1.522 MB / 0.5283 GB, free: 28.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.3035, allocations: 480.7 kB / 0.5288 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3045, allocations: 0.739 MB / 0.5295 GB, free: 27.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.3072, allocations: 7.104 MB / 0.5364 GB, free: 17.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.3117, allocations: 8.574 MB / 0.5448 GB, free: 6.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.282e-05/0.3118, allocations: 40 kB / 0.5448 GB, free: 6.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.007262/0.3191, allocations: 6.501 MB / 0.5512 GB, free: 15.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.3191, allocations: 71.94 kB / 0.5513 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.3192, allocations: 148 kB / 0.5514 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.3209, allocations: 0.8104 MB / 0.5522 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.3235, allocations: 1.563 MB / 0.5537 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/0.3283, allocations: 5.914 MB / 0.5595 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.3307, allocations: 426.9 kB / 0.5599 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/0.331, allocations: 420 kB / 0.5603 GB, free: 6.047 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001131/0.3322, allocations: 0.7247 MB / 0.561 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.3326, allocations: 441.3 kB / 0.5614 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.3354, allocations: 1.754 MB / 0.5631 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.3354, allocations: 27.3 kB / 0.5632 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3354, allocations: 7.828 kB / 0.5632 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3355, allocations: 11.97 kB / 0.5632 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.3432, allocations: 5.826 MB / 0.5689 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3432, allocations: 4 kB / 0.5689 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.3438, allocations: 255.6 kB / 0.5691 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.3452, allocations: 0.59 MB / 0.5697 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.3453, allocations: 28 kB / 0.5697 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.3494, allocations: 5.436 MB / 0.575 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3494, allocations: 4 kB / 0.575 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.3533, allocations: 2.949 MB / 0.5779 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.3539, allocations: 409.1 kB / 0.5783 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3542, allocations: 31.12 kB / 0.5783 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.3554, allocations: 147.8 kB / 0.5785 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.3556, allocations: 108.7 kB / 0.5786 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.3558, allocations: 44 kB / 0.5786 GB, free: 2.879 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002698/0.3585, allocations: 1.905 MB / 0.5805 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3585, allocations: 0 / 0.5805 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004718/0.3632, allocations: 1.281 MB / 0.5817 GB, free: 15.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/0.3635, allocations: 172.6 kB / 0.5819 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005548/0.3691, allocations: 3.549 MB / 0.5854 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3691, allocations: 0.5625 kB / 0.5854 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3703, allocations: 0.9638 MB / 0.5863 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.3725, allocations: 0.5344 MB / 0.5868 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.3845, allocations: 8.862 MB / 0.5955 GB, free: 1.445 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.386, allocations: 1.477 MB / 0.5969 GB, free: 15.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003224/0.3892, allocations: 1.742 MB / 0.5986 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.3898, allocations: 268.4 kB / 0.5989 GB, free: 13.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3898, allocations: 0 / 0.5989 GB, free: 13.93 MB / 474.7 MB Notification: Performance of Templates: time 0.1768/0.5666, allocations: 36.95 MB / 0.635 GB, free: 132.6 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.621725168079138]