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.001272/0.001272, 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.001609/0.001609, allocations: 165 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.9621/0.9621, allocations: 177.1 MB / 205 MB, free: 5.254 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.2575/0.2575, allocations: 32.8 MB / 294.3 MB, free: 1.18 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.903e-06/1.903e-06, allocations: 3.938 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.225e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02397/0.024, allocations: 12.26 MB / 388.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.03564, allocations: 4.415 MB / 392.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.03891, allocations: 103.5 kB / 392.8 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00858/0.04749, allocations: 3.987 MB / 396.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009102/0.05659, allocations: 2.317 MB / 399.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.05965, allocations: 1.138 MB / 400.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008765/0.06842, allocations: 6.782 MB / 407 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005232/0.07365, allocations: 4.142 MB / 411.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006124/0.07977, allocations: 3.973 MB / 415.1 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004064/0.08384, allocations: 2.927 MB / 418.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.08523, allocations: 416 kB / 418.5 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.08796, allocations: 1.396 MB / 419.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.09054, allocations: 2.634 MB / 422.5 MB, free: 5.953 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.09306, allocations: 1.589 MB / 424.1 MB, free: 4.359 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007192/0.1003, allocations: 5.687 MB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.1003, allocations: 0 / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1003, allocations: 3.938 kB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002511/0.1005, allocations: 4 kB / 429.8 MB, free: 14.64 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.01615/0.1167, allocations: 6.6 MB / 436.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1167, allocations: 8.031 kB / 436.4 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.1233, allocations: 3.021 MB / 439.4 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/0.1273, allocations: 3.155 MB / 442.6 MB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.1274, allocations: 275.5 kB / 442.8 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/0.1279, allocations: 380.1 kB / 443.2 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1967/0.3246, allocations: 7.256 MB / 450.5 MB, free: 75.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.3247, allocations: 58.88 kB / 450.5 MB, free: 75.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006173/0.3254, allocations: 177.1 kB / 450.7 MB, free: 75.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.3271, allocations: 2.035 MB / 452.7 MB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008873/0.336, allocations: 3.683 MB / 456.4 MB, free: 75.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04217/0.3782, allocations: 51.44 MB / 0.496 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006271/0.3844, allocations: 1.944 MB / 0.4979 GB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3855, allocations: 0.5057 MB / 0.4983 GB, free: 34.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007936/0.3934, allocations: 4.263 MB / 0.5025 GB, free: 32.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.3935, allocations: 56.7 kB / 0.5026 GB, free: 32.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.989e-06/0.3935, allocations: 0 / 0.5026 GB, free: 32.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.01922/0.4127, allocations: 8.453 MB / 0.5108 GB, free: 28.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.4128, allocations: 193.6 kB / 0.511 GB, free: 28.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/0.4183, allocations: 4.554 MB / 0.5154 GB, free: 26.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.4185, allocations: 48.48 kB / 0.5155 GB, free: 26.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.4207, allocations: 4.171 MB / 0.5196 GB, free: 23.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.4212, allocations: 0.5891 MB / 0.5201 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.4226, allocations: 1.542 MB / 0.5216 GB, free: 22.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.4227, allocations: 486 kB / 0.5221 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.4239, allocations: 0.6401 MB / 0.5227 GB, free: 21.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.4272, allocations: 7.426 MB / 0.53 GB, free: 12.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005296/0.4325, allocations: 8.808 MB / 0.5386 GB, free: 2.867 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.4326, allocations: 50.41 kB / 0.5386 GB, free: 2.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.007515/0.4401, allocations: 5.907 MB / 0.5444 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.4402, allocations: 76 kB / 0.5445 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/0.4403, allocations: 163.8 kB / 0.5446 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.4408, allocations: 288.3 kB / 0.5449 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.4437, allocations: 1.622 MB / 0.5465 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.4457, allocations: 3.825 MB / 0.5502 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.449, allocations: 466.1 kB / 0.5507 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.4494, allocations: 435.6 kB / 0.5511 GB, free: 7.012 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 (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.001373/0.4508, allocations: 0.7437 MB / 0.5518 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.4513, allocations: 429.3 kB / 0.5522 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4523, allocations: 0.8015 MB / 0.553 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.4524, allocations: 21.61 kB / 0.553 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4524, allocations: 4 kB / 0.553 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4524, allocations: 6.281 kB / 0.553 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/0.4594, allocations: 4.73 MB / 0.5577 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4594, allocations: 4 kB / 0.5577 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.4599, allocations: 239.8 kB / 0.5579 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.4602, allocations: 85.28 kB / 0.558 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.4603, allocations: 30.05 kB / 0.558 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.462, allocations: 3.529 MB / 0.5614 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.462, allocations: 11.97 kB / 0.5615 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.4646, allocations: 2.007 MB / 0.5634 GB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/0.4653, allocations: 412.3 kB / 0.5638 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.4656, allocations: 27.8 kB / 0.5638 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.4663, allocations: 123.3 kB / 0.564 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4664, allocations: 96.47 kB / 0.564 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.4665, allocations: 40 kB / 0.5641 GB, free: 10.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.4688, allocations: 1.967 MB / 0.566 GB, free: 8.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4688, allocations: 0 / 0.566 GB, free: 8.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004793/0.4736, allocations: 1.122 MB / 0.5671 GB, free: 7.543 MB / 442.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.0004061/0.474, allocations: 175.4 kB / 0.5673 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.4787, allocations: 3.214 MB / 0.5704 GB, free: 4.449 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.4787, allocations: 4 kB / 0.5704 GB, free: 4.445 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4798, allocations: 0.6898 MB / 0.5711 GB, free: 3.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4821, allocations: 0.5299 MB / 0.5716 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.4969, allocations: 8.647 MB / 0.58 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.4983, allocations: 1.444 MB / 0.5815 GB, free: 8.891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002831/0.5011, allocations: 1.794 MB / 0.5832 GB, free: 7.094 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.5016, allocations: 264.5 kB / 0.5835 GB, free: 6.836 MB / 458.7 MB Notification: Performance of SimCode: time 3.797e-06/0.5016, allocations: 0 / 0.5835 GB, free: 6.836 MB / 458.7 MB Notification: Performance of Templates: time 0.2126/0.7142, allocations: 28.81 MB / 0.6116 GB, free: 125.1 MB / 474.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.692897502798587]