Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001477/0.001477, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.001608/0.001608, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 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 1.41/1.41, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2246/0.2246, allocations: 46.88 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 79.86 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3102, allocations: 65.98 MB / 0.5612 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01466/0.3248, allocations: 12.75 MB / 0.5737 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009801/0.3346, allocations: 4.536 MB / 0.5781 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.3367, allocations: 87.75 kB / 0.5782 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007307/0.344, allocations: 3.769 MB / 0.5819 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006168/0.3501, allocations: 2.234 MB / 0.584 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.3526, allocations: 0.9982 MB / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009598/0.3622, allocations: 6.039 MB / 0.5909 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005349/0.3676, allocations: 3.241 MB / 0.5941 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.3711, allocations: 1.959 MB / 0.596 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004472/0.3756, allocations: 2.823 MB / 0.5987 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.3769, allocations: 412 kB / 0.5991 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.3802, allocations: 1.478 MB / 0.6006 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003233/0.3834, allocations: 2.489 MB / 0.603 GB, free: 10 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004668/0.3881, allocations: 2.703 MB / 0.6056 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.4002, allocations: 8.638 MB / 0.6141 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.4002, allocations: 0 / 0.6141 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4003, allocations: 0 / 0.6141 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000303/0.4006, allocations: 0 / 0.6141 GB, free: 14.61 MB / 462.1 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.01592/0.4165, allocations: 6.156 MB / 0.6201 GB, free: 8.371 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4165, allocations: 12.02 kB / 0.6201 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.4286, allocations: 2.571 MB / 0.6226 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/0.4384, allocations: 3.752 MB / 0.6263 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.4387, allocations: 283.5 kB / 0.6266 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.4398, allocations: 379.7 kB / 0.6269 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.4616, allocations: 11.59 MB / 0.6382 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.4617, allocations: 59.53 kB / 0.6383 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.4623, allocations: 179.8 kB / 0.6385 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.466, allocations: 2.139 MB / 0.6406 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.4861, allocations: 9.629 MB / 0.65 GB, free: 8.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/0.5478, allocations: 45.72 MB / 0.6946 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.5585, allocations: 3.799 MB / 0.6983 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.5615, allocations: 2.005 MB / 0.7003 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/0.5743, allocations: 6.528 MB / 0.7067 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.5744, allocations: 59.48 kB / 0.7067 GB, free: 13.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 5.279e-06/0.5744, allocations: 0 / 0.7067 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04575/0.6201, allocations: 16.74 MB / 0.7231 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6202, allocations: 200.9 kB / 0.7233 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008295/0.6285, allocations: 5.612 MB / 0.7287 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/0.6289, allocations: 49.7 kB / 0.7288 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/0.6321, allocations: 3.83 MB / 0.7325 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/0.633, allocations: 0.7057 MB / 0.7332 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/0.635, allocations: 1.421 MB / 0.7346 GB, free: 480 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6351, allocations: 305.1 kB / 0.7349 GB, free: 172 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2763/0.9115, allocations: 2.311 MB / 0.7371 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/0.9167, allocations: 6.575 MB / 0.7436 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009302/0.926, allocations: 9.559 MB / 0.7529 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.9261, allocations: 42.44 kB / 0.7529 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01472/0.9409, allocations: 9.641 MB / 0.7624 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.9409, allocations: 71.94 kB / 0.7624 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/0.9411, allocations: 152.1 kB / 0.7626 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.9437, allocations: 1.209 MB / 0.7637 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/0.9481, allocations: 1.574 MB / 0.7653 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/0.9556, allocations: 8.324 MB / 0.7734 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/0.9609, allocations: 376 kB / 0.7738 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008569/0.9618, allocations: 420 kB / 0.7742 GB, free: 124.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003228/0.965, allocations: 2.447 MB / 0.7766 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007426/0.9657, allocations: 483.7 kB / 0.777 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/0.9709, allocations: 3.421 MB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9709, allocations: 7.969 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.9709, allocations: 2.438 kB / 0.7804 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.9721, allocations: 0.541 MB / 0.7809 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.9726, allocations: 35.61 kB / 0.7809 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.974, allocations: 87.88 kB / 0.781 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.9742, allocations: 108.8 kB / 0.7811 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005814/0.98, allocations: 3.886 MB / 0.7849 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004671/0.9847, allocations: 4.974 MB / 0.7898 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/0.9858, allocations: 1.143 MB / 0.7909 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004343/0.9901, allocations: 3.571 MB / 0.7944 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of Backend: time 4.11e-07/0.9901, allocations: 0 / 0.7944 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008225/0.9984, allocations: 4.527 MB / 0.7988 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0152/1.014, allocations: 11.32 MB / 0.8099 GB, free: 88.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.08545/1.099, allocations: 56.31 MB / 0.8648 GB, free: 32.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.972882433794439]