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.001346/0.001346, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001534/0.001534, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2452/0.2452, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.002074/0.002074, allocations: 63.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3727, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01532/0.388, allocations: 11.07 MB / 0.5719 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3988, allocations: 4.295 MB / 0.5761 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.4012, allocations: 99.5 kB / 0.5762 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008134/0.4094, allocations: 3.61 MB / 0.5797 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.4166, allocations: 2.256 MB / 0.5819 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.4198, allocations: 1.006 MB / 0.5829 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.43, allocations: 6.039 MB / 0.5888 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005905/0.4359, allocations: 3.505 MB / 0.5922 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.4401, allocations: 1.994 MB / 0.5942 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005183/0.4452, allocations: 2.819 MB / 0.5969 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.4467, allocations: 408 kB / 0.5973 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.4503, allocations: 1.346 MB / 0.5986 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003645/0.454, allocations: 2.485 MB / 0.601 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004781/0.4588, allocations: 2.011 MB / 0.603 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.4701, allocations: 8.681 MB / 0.6115 GB, free: 324 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4701, allocations: 3.984 kB / 0.6115 GB, free: 320 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4701, allocations: 4 kB / 0.6115 GB, free: 316 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.4704, allocations: 0 / 0.6115 GB, free: 316 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.01473/0.4851, allocations: 6.08 MB / 0.6174 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4851, allocations: 8.031 kB / 0.6174 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.497, allocations: 2.571 MB / 0.62 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009976/0.507, allocations: 3.672 MB / 0.6235 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.5072, allocations: 275.5 kB / 0.6238 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009597/0.5082, allocations: 387.7 kB / 0.6242 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.5288, allocations: 11.64 MB / 0.6355 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/0.529, allocations: 59.47 kB / 0.6356 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004974/0.5295, allocations: 179.8 kB / 0.6358 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/0.5332, allocations: 2.154 MB / 0.6379 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.5537, allocations: 9.586 MB / 0.6472 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.6132, allocations: 42.77 MB / 0.689 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.6239, allocations: 3.333 MB / 0.6923 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.627, allocations: 2.001 MB / 0.6942 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.6394, allocations: 5.643 MB / 0.6997 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.6394, allocations: 51.55 kB / 0.6998 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.931e-06/0.6394, allocations: 4 kB / 0.6998 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04661/0.686, allocations: 16.51 MB / 0.7159 GB, free: 2.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.6862, allocations: 200.9 kB / 0.7161 GB, free: 2.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/0.693, allocations: 4.806 MB / 0.7208 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003877/0.6934, allocations: 49.7 kB / 0.7208 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003224/0.6966, allocations: 3.875 MB / 0.7246 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.6977, allocations: 0.698 MB / 0.7253 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/0.6998, allocations: 1.424 MB / 0.7267 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6999, allocations: 301.1 kB / 0.727 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/0.7035, allocations: 2.309 MB / 0.7292 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3256/1.029, allocations: 6.633 MB / 0.7357 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.04, allocations: 9.568 MB / 0.7451 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002758/1.04, allocations: 40.5 kB / 0.7451 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01829/1.058, allocations: 9.553 MB / 0.7544 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/1.059, allocations: 73.91 kB / 0.7545 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/1.059, allocations: 149.7 kB / 0.7546 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/1.062, allocations: 1.209 MB / 0.7558 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/1.067, allocations: 1.575 MB / 0.7574 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/1.075, allocations: 8.008 MB / 0.7652 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.08, allocations: 373 kB / 0.7655 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.081, allocations: 427.6 kB / 0.7659 GB, free: 128.1 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.003687/1.085, allocations: 2.457 MB / 0.7683 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008181/1.086, allocations: 398.2 kB / 0.7687 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/1.091, allocations: 3.35 MB / 0.772 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.091, allocations: 24 kB / 0.772 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.091, allocations: 4 kB / 0.772 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.091, allocations: 11.97 kB / 0.772 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.104, allocations: 6.986 MB / 0.7789 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.104, allocations: 4 kB / 0.7789 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.106, allocations: 303.8 kB / 0.7791 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/1.108, allocations: 0.9911 MB / 0.7801 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.108, allocations: 32 kB / 0.7801 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/1.115, allocations: 7.361 MB / 0.7873 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.115, allocations: 4 kB / 0.7873 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.123, allocations: 5.807 MB / 0.793 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.124, allocations: 362.1 kB / 0.7934 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/1.125, allocations: 35.98 kB / 0.7934 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.126, allocations: 91.88 kB / 0.7935 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.126, allocations: 104.7 kB / 0.7936 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.126, allocations: 44 kB / 0.7936 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003692/1.13, allocations: 2.81 MB / 0.7964 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.13, allocations: 0 / 0.7964 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007155/1.137, allocations: 1.142 MB / 0.7975 GB, free: 96.78 MB / 0.5606 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.0006718/1.138, allocations: 163 kB / 0.7976 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009006/1.147, allocations: 5.373 MB / 0.8029 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.147, allocations: 4 kB / 0.8029 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.149, allocations: 1.519 MB / 0.8044 GB, free: 89.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/1.153, allocations: 0.5038 MB / 0.8049 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.171, allocations: 10.9 MB / 0.8155 GB, free: 78.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/1.174, allocations: 3.252 MB / 0.8187 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004251/1.179, allocations: 2.026 MB / 0.8207 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/1.179, allocations: 259.4 kB / 0.8209 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.084e-06/1.179, allocations: 4 kB / 0.8209 GB, free: 72.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.0741/1.254, allocations: 43.7 MB / 0.8636 GB, free: 29.57 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/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.647930576931685]