Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00211/0.003263, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002629, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9684/0.9684, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1105/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3153/0.3153, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02662/0.3419, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.36e-05, allocations: 4 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02172/0.02175, allocations: 12.09 MB / 306.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.03784, allocations: 4.609 MB / 310.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.04013, allocations: 103.5 kB / 310.9 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004662/0.04479, allocations: 3.765 MB / 314.7 MB, free: 448 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.04913, allocations: 2.298 MB / 317 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.05055, allocations: 1.029 MB / 318 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005121/0.05567, allocations: 6.244 MB / 324.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.05901, allocations: 3.773 MB / 328 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/0.06418, allocations: 3.787 MB / 331.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.06768, allocations: 2.759 MB / 334.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.06871, allocations: 416 kB / 335 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.07125, allocations: 1.435 MB / 336.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.07341, allocations: 2.346 MB / 338.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.07542, allocations: 1.305 MB / 340.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.08328, allocations: 5.251 MB / 345.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.0833, allocations: 0 / 345.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.0833, allocations: 0 / 345.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002804/0.08358, allocations: 0 / 345.3 MB, free: 1.645 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.008465/0.09204, allocations: 6.74 MB / 352.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.09208, allocations: 8.922 kB / 352.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.09545, allocations: 1.3 MB / 353.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/0.09945, allocations: 2.599 MB / 356 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.0996, allocations: 275.5 kB / 356.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006219/0.1002, allocations: 384.1 kB / 356.6 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.1084, allocations: 5.788 MB / 362.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.1086, allocations: 47.58 kB / 362.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.1089, allocations: 179.8 kB / 362.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/0.1108, allocations: 1.788 MB / 364.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006471/0.1173, allocations: 2.869 MB / 367.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03547/0.1528, allocations: 36.61 MB / 403.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.1569, allocations: 1.65 MB / 405.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.1574, allocations: 361.7 kB / 405.9 MB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006777/0.1642, allocations: 3.76 MB / 409.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.1642, allocations: 47.2 kB / 409.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.889e-06/0.1642, allocations: 0 / 409.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01047/0.1747, allocations: 4.018 MB / 413.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1748, allocations: 141.2 kB / 413.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.1787, allocations: 4.056 MB / 417.9 MB, free: 6.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.1788, allocations: 41.7 kB / 417.9 MB, free: 6.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.1806, allocations: 3.669 MB / 421.6 MB, free: 2.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000805/0.1814, allocations: 0.5663 MB / 422.2 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.1824, allocations: 1.35 MB / 423.5 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.1825, allocations: 309.1 kB / 423.8 MB, free: 464 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.1837, allocations: 0.7965 MB / 424.6 MB, free: 15.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.1871, allocations: 5.279 MB / 429.9 MB, free: 8.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1888/0.3759, allocations: 7.24 MB / 437.1 MB, free: 113.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/0.3761, allocations: 48.5 kB / 437.2 MB, free: 113.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.00835/0.3845, allocations: 4.779 MB / 442 MB, free: 112.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.431e-05/0.3845, allocations: 75.69 kB / 442 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/0.3848, allocations: 167.7 kB / 442.2 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004769/0.3853, allocations: 288.7 kB / 442.5 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.388, allocations: 1.775 MB / 444.3 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.3891, allocations: 2.723 MB / 447 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.3921, allocations: 325.7 kB / 447.3 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/0.3925, allocations: 378.1 kB / 447.7 MB, free: 110 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (882): * Single equations (assignments): 877 * 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 prepare postOptimizeDAE: time 0.001383/0.3939, allocations: 0.7109 MB / 448.4 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.3943, allocations: 236.1 kB / 448.6 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.395, allocations: 0.6785 MB / 449.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.395, allocations: 11.59 kB / 449.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.395, allocations: 5.594 kB / 449.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.395, allocations: 6.234 kB / 449.3 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/0.3995, allocations: 3.871 MB / 453.2 MB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.3995, allocations: 11.69 kB / 453.2 MB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.4, allocations: 220.9 kB / 453.4 MB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.4005, allocations: 386.2 kB / 453.8 MB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/0.4009, allocations: 308.6 kB / 454.1 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.401, allocations: 28.34 kB / 454.1 MB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008395/0.4018, allocations: 2.427 MB / 456.5 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4018, allocations: 15.72 kB / 456.6 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4029, allocations: 1.583 MB / 458.1 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.4033, allocations: 33.62 kB / 458.2 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.4039, allocations: 32.09 kB / 458.2 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.404, allocations: 89.78 kB / 458.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.404, allocations: 33.22 kB / 458.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.4052, allocations: 1.508 MB / 459.8 MB, free: 105.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4052, allocations: 0 / 459.8 MB, free: 105.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003987/0.4091, allocations: 1.12 MB / 461 MB, free: 104.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 99 * 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.0003561/0.4095, allocations: 163.2 kB / 461.1 MB, free: 104.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003741/0.4132, allocations: 2.92 MB / 464 MB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001961/0.4134, allocations: 116.1 kB / 464.1 MB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.414, allocations: 0.592 MB / 464.7 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.4175, allocations: 3.789 MB / 468.5 MB, free: 97.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.4325, allocations: 8.709 MB / 477.2 MB, free: 89.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.4344, allocations: 1.439 MB / 478.7 MB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001691/0.436, allocations: 0.5772 MB / 479.3 MB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/0.4368, allocations: 0.6053 MB / 479.9 MB, free: 87.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4368, allocations: 0 / 479.9 MB, free: 87.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04691/0.4837, allocations: 29.92 MB / 0.4978 GB, free: 57.63 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.789774764329195]