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.001516/0.001516, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.0017/0.0017, allocations: 165.7 kB / 24.27 MB, free: 144 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.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3544/0.3544, allocations: 34.27 MB / 295.3 MB, free: 0.6836 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.693e-06/1.693e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.497e-05, allocations: 6.25 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01556/0.0156, allocations: 11.09 MB / 388.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02636, allocations: 4.294 MB / 392.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.02937, allocations: 99.5 kB / 392.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008603/0.03797, allocations: 3.859 MB / 396.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007622/0.04559, allocations: 2.321 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.0485, allocations: 1.107 MB / 400.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.06065, allocations: 6.793 MB / 406.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007161/0.06781, allocations: 4.131 MB / 411 MB, free: 1.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.07443, allocations: 2.982 MB / 414 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/0.08043, allocations: 2.891 MB / 416.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.08163, allocations: 424 kB / 417.3 MB, free: 10.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.08479, allocations: 1.408 MB / 418.7 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.08963, allocations: 2.606 MB / 421.3 MB, free: 6.758 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004754/0.09438, allocations: 1.593 MB / 422.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.112, allocations: 8.781 MB / 431.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.112, allocations: 3.984 kB / 431.7 MB, free: 12.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.112, allocations: 4 kB / 431.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002831/0.1123, allocations: 0 / 431.7 MB, free: 12.34 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.02294/0.1352, allocations: 6.162 MB / 437.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.1353, allocations: 12.03 kB / 437.8 MB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/0.1551, allocations: 3.177 MB / 441 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1765/0.3316, allocations: 3.678 MB / 444.7 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.3318, allocations: 276.9 kB / 445 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.3335, allocations: 376.2 kB / 445.3 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.3534, allocations: 11.76 MB / 457.1 MB, free: 91.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.3535, allocations: 61.95 kB / 457.1 MB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/0.354, allocations: 179.7 kB / 457.3 MB, free: 91.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.3569, allocations: 2.146 MB / 459.5 MB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.3734, allocations: 9.706 MB / 469.2 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04547/0.4188, allocations: 43.42 MB / 0.5006 GB, free: 55.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.4289, allocations: 3.659 MB / 0.5042 GB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.4312, allocations: 2.08 MB / 0.5062 GB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00946/0.4407, allocations: 6.135 MB / 0.5122 GB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4407, allocations: 58.78 kB / 0.5122 GB, free: 45.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 4.378e-06/0.4407, allocations: 0 / 0.5122 GB, free: 45.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=171): time 0.03912/0.4798, allocations: 17.81 MB / 0.5296 GB, free: 27.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.4799, allocations: 196.9 kB / 0.5298 GB, free: 27.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.4851, allocations: 4.989 MB / 0.5347 GB, free: 22.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00031/0.4854, allocations: 49.7 kB / 0.5347 GB, free: 22.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.4869, allocations: 3.809 MB / 0.5385 GB, free: 18.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006485/0.4875, allocations: 0.7212 MB / 0.5392 GB, free: 18.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.4889, allocations: 1.405 MB / 0.5405 GB, free: 16.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.4889, allocations: 301.1 kB / 0.5408 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.4915, allocations: 2.403 MB / 0.5432 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/0.4955, allocations: 6.683 MB / 0.5497 GB, free: 5.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.5067, allocations: 9.704 MB / 0.5592 GB, free: 9.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/0.5068, allocations: 44 kB / 0.5592 GB, free: 9.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02165/0.5285, allocations: 10.12 MB / 0.5691 GB, free: 15.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.5286, allocations: 68.94 kB / 0.5692 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002104/0.5288, allocations: 148 kB / 0.5693 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/0.5328, allocations: 1.301 MB / 0.5706 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/0.5383, allocations: 1.595 MB / 0.5721 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.5513, allocations: 8.263 MB / 0.5802 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/0.557, allocations: 451.7 kB / 0.5806 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009584/0.5579, allocations: 424 kB / 0.581 GB, free: 2.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 {(2,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004898/0.5628, allocations: 2.459 MB / 0.5834 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.564, allocations: 449.5 kB / 0.5839 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/0.5715, allocations: 3.546 MB / 0.5873 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/0.5716, allocations: 16 kB / 0.5873 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.5716, allocations: 8 kB / 0.5873 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.5716, allocations: 11.97 kB / 0.5874 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.5894, allocations: 7.477 MB / 0.5947 GB, free: 4.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.5894, allocations: 4 kB / 0.5947 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.5911, allocations: 315.8 kB / 0.595 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/0.5947, allocations: 1.071 MB / 0.596 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.595, allocations: 31.98 kB / 0.596 GB, free: 3.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1742/0.7691, allocations: 7.625 MB / 0.6035 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7691, allocations: 4.688 kB / 0.6035 GB, free: 126.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/0.7775, allocations: 6.178 MB / 0.6095 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7786, allocations: 422.6 kB / 0.6099 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/0.779, allocations: 29.8 kB / 0.61 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.7807, allocations: 162.9 kB / 0.6101 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.781, allocations: 107.8 kB / 0.6102 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.7811, allocations: 48.03 kB / 0.6103 GB, free: 124 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003575/0.7847, allocations: 2.956 MB / 0.6131 GB, free: 123 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7847, allocations: 0 / 0.6131 GB, free: 123 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005099/0.7898, allocations: 1.295 MB / 0.6144 GB, free: 122.9 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 (129): * Single equations (assignments): 124 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004449/0.7902, allocations: 178.1 kB / 0.6146 GB, free: 122.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007374/0.7976, allocations: 5.571 MB / 0.62 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.7976, allocations: 0 / 0.62 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.7996, allocations: 1.639 MB / 0.6216 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.8029, allocations: 0.5408 MB / 0.6221 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.8195, allocations: 11.08 MB / 0.633 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/0.8238, allocations: 3.245 MB / 0.6361 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004462/0.8282, allocations: 2.051 MB / 0.6381 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/0.8292, allocations: 269.7 kB / 0.6384 GB, free: 114 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/0.8292, allocations: 0 / 0.6384 GB, free: 114 MB / 458.7 MB Notification: Performance of Templates: time 0.06794/0.8971, allocations: 38.49 MB / 0.676 GB, free: 86.71 MB / 458.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=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/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.228876310982741]