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.001992/0.001992, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002015/0.002015, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3656/0.3656, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.899e-05, allocations: 5.406 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01779/0.01783, allocations: 12.18 MB / 389.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02822, allocations: 4.399 MB / 393.9 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.02983, allocations: 99.5 kB / 394 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008077/0.03791, allocations: 3.976 MB / 397.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.04423, allocations: 2.321 MB / 400.3 MB, free: 11.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.04677, allocations: 1.123 MB / 401.4 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.05745, allocations: 6.794 MB / 408.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006491/0.06394, allocations: 4.143 MB / 412.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005486/0.06942, allocations: 3.005 MB / 415.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005304/0.07473, allocations: 2.954 MB / 418.3 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.07584, allocations: 420 kB / 418.7 MB, free: 9.379 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.07885, allocations: 1.389 MB / 420.1 MB, free: 7.988 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003227/0.08208, allocations: 2.626 MB / 422.7 MB, free: 5.355 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.08544, allocations: 1.593 MB / 424.3 MB, free: 3.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.09791, allocations: 8.765 MB / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.09792, allocations: 4 kB / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09792, allocations: 0 / 433.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003068/0.09823, allocations: 0 / 433.1 MB, free: 10.96 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.01739/0.1156, allocations: 7.1 MB / 440.2 MB, free: 3.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1157, allocations: 8.031 kB / 440.2 MB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.1294, allocations: 3.102 MB / 443.3 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1804/0.3098, allocations: 3.345 MB / 446.6 MB, free: 95.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.31, allocations: 280.6 kB / 446.9 MB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.3114, allocations: 369.7 kB / 447.3 MB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.3278, allocations: 7.772 MB / 455 MB, free: 91.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/0.328, allocations: 54.53 kB / 455.1 MB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007091/0.3288, allocations: 177.8 kB / 455.3 MB, free: 91.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003291/0.332, allocations: 2.143 MB / 457.4 MB, free: 90.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.3454, allocations: 4.162 MB / 461.6 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05829/0.4037, allocations: 55.51 MB / 0.505 GB, free: 45.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008577/0.4123, allocations: 2.205 MB / 0.5071 GB, free: 45.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.4138, allocations: 0.7196 MB / 0.5078 GB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.4242, allocations: 4.515 MB / 0.5122 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4242, allocations: 58.92 kB / 0.5123 GB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 3.957e-06/0.4242, allocations: 0 / 0.5123 GB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.04177/0.466, allocations: 12.71 MB / 0.5247 GB, free: 31.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.466, allocations: 196.9 kB / 0.5249 GB, free: 31.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007142/0.4732, allocations: 5.468 MB / 0.5302 GB, free: 26.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005025/0.4737, allocations: 49.7 kB / 0.5303 GB, free: 26.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.4759, allocations: 4.3 MB / 0.5345 GB, free: 21.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.477, allocations: 0.7644 MB / 0.5352 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/0.4789, allocations: 1.8 MB / 0.537 GB, free: 19.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.479, allocations: 480.8 kB / 0.5374 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.4807, allocations: 0.8293 MB / 0.5382 GB, free: 17.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/0.4843, allocations: 7.413 MB / 0.5455 GB, free: 7.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.4944, allocations: 9.001 MB / 0.5543 GB, free: 11.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002378/0.4946, allocations: 44 kB / 0.5543 GB, free: 11.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01813/0.5128, allocations: 6.695 MB / 0.5608 GB, free: 4.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.5129, allocations: 72 kB / 0.5609 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/0.5131, allocations: 148 kB / 0.5611 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.5165, allocations: 0.8168 MB / 0.5619 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/0.522, allocations: 1.567 MB / 0.5634 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009164/0.5312, allocations: 6.067 MB / 0.5693 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/0.5371, allocations: 431.4 kB / 0.5697 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/0.5388, allocations: 420 kB / 0.5701 GB, free: 11.14 MB / 442.7 MB 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.003527/0.5424, allocations: 0.8339 MB / 0.5709 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/0.5437, allocations: 445.3 kB / 0.5714 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.5491, allocations: 1.842 MB / 0.5732 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/0.5492, allocations: 16 kB / 0.5732 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.5492, allocations: 8 kB / 0.5732 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.5492, allocations: 11.91 kB / 0.5732 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/0.57, allocations: 6.947 MB / 0.58 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.57, allocations: 4 kB / 0.58 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.5716, allocations: 299.8 kB / 0.5803 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/0.5746, allocations: 0.6005 MB / 0.5809 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.5748, allocations: 32 kB / 0.5809 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008217/0.583, allocations: 5.509 MB / 0.5863 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.583, allocations: 4 kB / 0.5863 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007676/0.5907, allocations: 3.056 MB / 0.5893 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.5924, allocations: 405.1 kB / 0.5896 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/0.5929, allocations: 35.92 kB / 0.5897 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/0.5947, allocations: 143.8 kB / 0.5898 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.595, allocations: 112.7 kB / 0.5899 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.5951, allocations: 44 kB / 0.59 GB, free: 6.359 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004795/0.5999, allocations: 2.26 MB / 0.5922 GB, free: 4.098 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5999, allocations: 0 / 0.5922 GB, free: 4.098 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007223/0.6072, allocations: 1.289 MB / 0.5934 GB, free: 2.809 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007466/0.6079, allocations: 186.8 kB / 0.5936 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009001/0.6169, allocations: 3.9 MB / 0.5974 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.6169, allocations: 4 kB / 0.5974 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.6189, allocations: 1.036 MB / 0.5984 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/0.6225, allocations: 0.526 MB / 0.5989 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/0.6426, allocations: 8.927 MB / 0.6077 GB, free: 4.051 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006083/0.6487, allocations: 2.951 MB / 0.6105 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.1706/0.8194, allocations: 1.753 MB / 0.6123 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.8205, allocations: 272.1 kB / 0.6125 GB, free: 131.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/0.8205, allocations: 3.125 kB / 0.6125 GB, free: 131.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07026/0.8907, allocations: 37.69 MB / 0.6493 GB, free: 124 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/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.438099930994213]