Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001049/0.001049, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001028/0.001028, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.109/1.109, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.977e-05, allocations: 2.312 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.00941/0.00943, allocations: 11.96 MB / 388.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.0168, allocations: 4.38 MB / 392.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.01851, allocations: 99.5 kB / 392.9 MB, free: 3.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.02264, allocations: 3.929 MB / 396.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.0281, allocations: 2.333 MB / 399.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.03027, allocations: 1.123 MB / 400.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007538/0.0378, allocations: 6.79 MB / 407.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005038/0.04284, allocations: 4.15 MB / 411.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.04842, allocations: 3.985 MB / 415.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.05256, allocations: 2.923 MB / 418.1 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.05411, allocations: 416 kB / 418.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.05678, allocations: 1.4 MB / 420 MB, free: 8.719 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.05907, allocations: 2.622 MB / 422.6 MB, free: 6.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.06189, allocations: 1.585 MB / 424.2 MB, free: 4.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008611/0.0705, allocations: 5.683 MB / 429.8 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.07051, allocations: 7.922 kB / 429.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07051, allocations: 0 / 429.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002245/0.07073, allocations: 0 / 429.9 MB, free: 14.79 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.009066/0.0798, allocations: 6.287 MB / 436.1 MB, free: 8.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.07985, allocations: 12.03 kB / 436.2 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.08506, allocations: 2.116 MB / 438.3 MB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/0.08872, allocations: 2.776 MB / 441 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.08885, allocations: 279.5 kB / 441.3 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.08925, allocations: 372.1 kB / 441.7 MB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1844/0.2736, allocations: 6.489 MB / 448.2 MB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002131/0.2738, allocations: 56.08 kB / 448.2 MB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/0.2743, allocations: 181.6 kB / 448.4 MB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.2761, allocations: 1.888 MB / 450.3 MB, free: 90.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.2939, allocations: 2.806 MB / 453.1 MB, free: 89.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04788/0.3417, allocations: 51.14 MB / 0.4924 GB, free: 49.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.3461, allocations: 1.709 MB / 0.4941 GB, free: 48.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.3468, allocations: 449.7 kB / 0.4945 GB, free: 48.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006772/0.3536, allocations: 4.061 MB / 0.4985 GB, free: 46.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.3536, allocations: 57.39 kB / 0.4985 GB, free: 46.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.479e-06/0.3536, allocations: 1.312 kB / 0.4985 GB, free: 46.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01269/0.3663, allocations: 4.619 MB / 0.5031 GB, free: 45.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3664, allocations: 193.5 kB / 0.5032 GB, free: 45.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.371, allocations: 4.523 MB / 0.5077 GB, free: 43.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/0.3711, allocations: 41.42 kB / 0.5077 GB, free: 43.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.3731, allocations: 4.21 MB / 0.5118 GB, free: 40.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.3736, allocations: 0.5891 MB / 0.5124 GB, free: 39.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/0.3752, allocations: 1.573 MB / 0.5139 GB, free: 38.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.3753, allocations: 485.3 kB / 0.5144 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.3763, allocations: 0.5726 MB / 0.5149 GB, free: 38.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/0.3794, allocations: 7.4 MB / 0.5222 GB, free: 29.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.3846, allocations: 8.672 MB / 0.5306 GB, free: 18.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.3847, allocations: 46.69 kB / 0.5307 GB, free: 18.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.00886/0.3935, allocations: 5.543 MB / 0.5361 GB, free: 14.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.3936, allocations: 76 kB / 0.5362 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/0.3938, allocations: 163.9 kB / 0.5363 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.3944, allocations: 289.4 kB / 0.5366 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.397, allocations: 1.576 MB / 0.5381 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.3984, allocations: 3.766 MB / 0.5418 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/0.4026, allocations: 321.1 kB / 0.5421 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.403, allocations: 380 kB / 0.5425 GB, free: 8.48 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 (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 (872): * Single equations (assignments): 865 * 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.00156/0.4045, allocations: 0.7509 MB / 0.5432 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/0.4051, allocations: 433.3 kB / 0.5436 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.4058, allocations: 0.7559 MB / 0.5444 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4058, allocations: 12 kB / 0.5444 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4059, allocations: 4 kB / 0.5444 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4059, allocations: 10.14 kB / 0.5444 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/0.4112, allocations: 4.641 MB / 0.5489 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.4113, allocations: 4 kB / 0.5489 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.4117, allocations: 184.7 kB / 0.5491 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.4119, allocations: 93.3 kB / 0.5492 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.412, allocations: 27.98 kB / 0.5492 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.4133, allocations: 3.481 MB / 0.5526 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.4133, allocations: 8.25 kB / 0.5526 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.4155, allocations: 1.916 MB / 0.5545 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.4162, allocations: 396.3 kB / 0.5549 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.4165, allocations: 24 kB / 0.5549 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.4171, allocations: 31.98 kB / 0.5549 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4172, allocations: 91.47 kB / 0.555 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.4173, allocations: 36 kB / 0.555 GB, free: 12.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001855/0.4191, allocations: 1.826 MB / 0.5568 GB, free: 10.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4191, allocations: 0 / 0.5568 GB, free: 10.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005124/0.4243, allocations: 1.113 MB / 0.5579 GB, free: 9.5 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.0004382/0.4247, allocations: 174.7 kB / 0.5581 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005089/0.4298, allocations: 3.065 MB / 0.5611 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.4298, allocations: 0 / 0.5611 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.4307, allocations: 0.6708 MB / 0.5617 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.4336, allocations: 0.521 MB / 0.5622 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.4498, allocations: 8.631 MB / 0.5707 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.4515, allocations: 1.444 MB / 0.5721 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001894/0.4534, allocations: 0.5742 MB / 0.5726 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/0.4543, allocations: 0.6621 MB / 0.5733 GB, free: 9.57 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/0.4543, allocations: 0 / 0.5733 GB, free: 9.57 MB / 442.7 MB Notification: Performance of Templates: time 0.2193/0.6736, allocations: 30.86 MB / 0.6034 GB, free: 124.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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.535501159727573]