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.0008182/0.0008182, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003351/0.003351, allocations: 163.1 kB / 24.7 MB, free: 8.891 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 0.876/0.876, allocations: 177.1 MB / 205 MB, free: 5.77 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.2326/0.2326, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.422e-06/1.422e-06, allocations: 0 / 440.9 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.323e-05, allocations: 4.531 kB / 440.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.182/0.1821, allocations: 11.08 MB / 451.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.1869, allocations: 4.294 MB / 456.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.1876, allocations: 100 kB / 456.3 MB, free: 37.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.1904, allocations: 3.799 MB / 460.1 MB, free: 36.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.1926, allocations: 2.314 MB / 462.4 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1937, allocations: 1.109 MB / 463.6 MB, free: 34.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003552/0.1972, allocations: 6.788 MB / 470.3 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.1996, allocations: 4.003 MB / 474.3 MB, free: 30.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.2018, allocations: 2.988 MB / 477.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.2036, allocations: 2.88 MB / 480.2 MB, free: 28.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.2039, allocations: 419.5 kB / 480.6 MB, free: 28.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.2055, allocations: 1.387 MB / 482 MB, free: 28.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.2071, allocations: 2.606 MB / 484.6 MB, free: 27.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2084, allocations: 1.585 MB / 486.2 MB, free: 26.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007536/0.216, allocations: 8.745 MB / 494.9 MB, free: 23.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.216, allocations: 4 kB / 494.9 MB, free: 23.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.216, allocations: 0 / 494.9 MB, free: 23.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000107/0.2161, allocations: 1.031 kB / 494.9 MB, free: 23.27 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.007821/0.2239, allocations: 6.135 MB / 0.4893 GB, free: 19.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.224, allocations: 9.344 kB / 0.4893 GB, free: 19.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.2298, allocations: 2.659 MB / 0.4919 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.2343, allocations: 3.662 MB / 0.4955 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.2344, allocations: 278.8 kB / 0.4958 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.2349, allocations: 379.4 kB / 0.4962 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009446/0.2444, allocations: 11.66 MB / 0.5075 GB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-05/0.2445, allocations: 55.56 kB / 0.5076 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.2448, allocations: 179.8 kB / 0.5078 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.2464, allocations: 2.154 MB / 0.5099 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.2572, allocations: 9.602 MB / 0.5192 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03453/0.2917, allocations: 43.12 MB / 0.5613 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005766/0.2975, allocations: 3.502 MB / 0.5648 GB, free: 8.812 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.2993, allocations: 2.01 MB / 0.5667 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006868/0.3062, allocations: 5.952 MB / 0.5725 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3062, allocations: 55.48 kB / 0.5726 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 3.727e-06/0.3062, allocations: 4 kB / 0.5726 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of matching and sorting (n=166): time 0.02785/0.3341, allocations: 17.22 MB / 0.5894 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.3341, allocations: 204.9 kB / 0.5896 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.3391, allocations: 4.974 MB / 0.5945 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.3392, allocations: 45.7 kB / 0.5945 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.3411, allocations: 3.836 MB / 0.5983 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005347/0.3417, allocations: 0.6902 MB / 0.5989 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.3429, allocations: 1.401 MB / 0.6003 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.343, allocations: 313.1 kB / 0.6006 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.3452, allocations: 2.309 MB / 0.6029 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.3499, allocations: 6.625 MB / 0.6093 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008118/0.3581, allocations: 9.562 MB / 0.6187 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/0.3582, allocations: 48.69 kB / 0.6187 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01145/0.3696, allocations: 9.561 MB / 0.628 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/0.3697, allocations: 71.94 kB / 0.6281 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.3698, allocations: 152 kB / 0.6283 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.3718, allocations: 1.211 MB / 0.6294 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.3744, allocations: 1.567 MB / 0.631 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.218/0.5924, allocations: 8.077 MB / 0.6389 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.5969, allocations: 431.1 kB / 0.6393 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.5972, allocations: 424.5 kB / 0.6397 GB, free: 145.2 MB / 0.5261 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.003324/0.6006, allocations: 2.463 MB / 0.6421 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.6009, allocations: 401.9 kB / 0.6425 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.6041, allocations: 3.342 MB / 0.6457 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6041, allocations: 18.59 kB / 0.6457 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.6041, allocations: 6.625 kB / 0.6458 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6041, allocations: 9.828 kB / 0.6458 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.6113, allocations: 7.132 MB / 0.6527 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6113, allocations: 3.156 kB / 0.6527 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.612, allocations: 297.5 kB / 0.653 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.6134, allocations: 0.9905 MB / 0.654 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.6135, allocations: 31.06 kB / 0.654 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.6181, allocations: 7.434 MB / 0.6613 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6181, allocations: 3.375 kB / 0.6613 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/0.6235, allocations: 5.801 MB / 0.6669 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.6241, allocations: 417.1 kB / 0.6673 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.6243, allocations: 25.66 kB / 0.6674 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.6252, allocations: 153.5 kB / 0.6675 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6254, allocations: 104.8 kB / 0.6676 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.6254, allocations: 44.47 kB / 0.6677 GB, free: 134 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003123/0.6286, allocations: 2.942 MB / 0.6705 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6286, allocations: 0 / 0.6705 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004383/0.6329, allocations: 1.292 MB / 0.6718 GB, free: 132.9 MB / 0.5261 GB 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.0003905/0.6333, allocations: 180.5 kB / 0.672 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00597/0.6393, allocations: 5.363 MB / 0.6772 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6393, allocations: 1.469 kB / 0.6772 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6406, allocations: 1.532 MB / 0.6787 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.6425, allocations: 0.5165 MB / 0.6792 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.655, allocations: 11.28 MB / 0.6902 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.6578, allocations: 3.228 MB / 0.6934 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.6584, allocations: 315.6 kB / 0.6937 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.6584, allocations: 0 / 0.6937 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07483/0.7332, allocations: 111.9 MB / 0.8029 GB, free: 15.5 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.356125885620713]