Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001774/0.001774, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002143/0.002143, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2522/0.2522, allocations: 46.97 MB / 361.6 MB, free: 4.074 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+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.1.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.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.91 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01499/0.3338, allocations: 11.08 MB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3441, allocations: 4.287 MB / 0.5768 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.3463, allocations: 99.5 kB / 0.5769 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007828/0.3542, allocations: 3.614 MB / 0.5805 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006585/0.3608, allocations: 2.257 MB / 0.5827 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.3634, allocations: 0.9982 MB / 0.5836 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009903/0.3733, allocations: 6.043 MB / 0.5895 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005183/0.3785, allocations: 3.504 MB / 0.593 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.3824, allocations: 1.986 MB / 0.5949 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004841/0.3873, allocations: 2.823 MB / 0.5977 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.3885, allocations: 408 kB / 0.598 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.3916, allocations: 1.358 MB / 0.5994 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.3945, allocations: 2.485 MB / 0.6018 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.3977, allocations: 2.015 MB / 0.6038 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.4089, allocations: 8.677 MB / 0.6122 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4089, allocations: 0 / 0.6122 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.4089, allocations: 0 / 0.6122 GB, free: 356 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002686/0.4092, allocations: 0 / 0.6122 GB, free: 356 kB / 446.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.01474/0.4239, allocations: 6.08 MB / 0.6182 GB, free: 10.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.424, allocations: 8.031 kB / 0.6182 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.4362, allocations: 2.571 MB / 0.6207 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.4465, allocations: 3.676 MB / 0.6243 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.4468, allocations: 283.5 kB / 0.6246 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.4484, allocations: 379.7 kB / 0.6249 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.4711, allocations: 11.65 MB / 0.6363 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.4712, allocations: 55.53 kB / 0.6363 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005068/0.4717, allocations: 175.8 kB / 0.6365 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003872/0.4756, allocations: 2.154 MB / 0.6386 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.4958, allocations: 9.597 MB / 0.648 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06561/0.5614, allocations: 42.77 MB / 0.6898 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.5721, allocations: 3.322 MB / 0.693 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.5752, allocations: 2.013 MB / 0.695 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/0.5875, allocations: 5.643 MB / 0.7005 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.5876, allocations: 47.56 kB / 0.7005 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.019e-06/0.5876, allocations: 0 / 0.7005 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04708/0.6346, allocations: 16.51 MB / 0.7166 GB, free: 3.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.6348, allocations: 200.9 kB / 0.7168 GB, free: 2.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007062/0.6418, allocations: 4.806 MB / 0.7215 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.6422, allocations: 49.69 kB / 0.7216 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003199/0.6454, allocations: 3.871 MB / 0.7254 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009226/0.6463, allocations: 0.698 MB / 0.726 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/0.6483, allocations: 1.424 MB / 0.7274 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6484, allocations: 301.1 kB / 0.7277 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/0.6521, allocations: 2.321 MB / 0.73 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2509/0.903, allocations: 6.627 MB / 0.7365 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009213/0.9122, allocations: 9.572 MB / 0.7458 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/0.9124, allocations: 43.66 kB / 0.7458 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0145/0.9269, allocations: 9.547 MB / 0.7552 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.927, allocations: 70.81 kB / 0.7552 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.9271, allocations: 152.9 kB / 0.7554 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.9299, allocations: 1.211 MB / 0.7566 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.9343, allocations: 1.574 MB / 0.7581 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00744/0.9417, allocations: 8.007 MB / 0.7659 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/0.9466, allocations: 371.4 kB / 0.7663 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007044/0.9473, allocations: 423.7 kB / 0.7667 GB, free: 129.5 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.003619/0.9509, allocations: 2.455 MB / 0.7691 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000754/0.9516, allocations: 400.5 kB / 0.7695 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.9567, allocations: 3.343 MB / 0.7727 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.9567, allocations: 9.047 kB / 0.7727 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.9567, allocations: 8 kB / 0.7727 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008266/0.9576, allocations: 370 kB / 0.7731 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/0.958, allocations: 24 kB / 0.7731 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.9593, allocations: 91.88 kB / 0.7732 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.9595, allocations: 120.6 kB / 0.7733 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005693/0.9652, allocations: 3.869 MB / 0.7771 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004635/0.9698, allocations: 4.889 MB / 0.7819 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001099/0.9709, allocations: 1.148 MB / 0.783 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003302/0.9742, allocations: 2.814 MB / 0.7857 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/0.9742, allocations: 0 / 0.7857 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007798/0.982, allocations: 4.534 MB / 0.7902 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01463/0.9966, allocations: 11.08 MB / 0.801 GB, free: 95.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.0798/1.076, allocations: 56.46 MB / 0.8561 GB, free: 39.74 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.393054162996123]