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.001414/0.001414, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001474/0.001474, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2405/0.2405, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.00243/0.00243, allocations: 67.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3754, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01586/0.3913, allocations: 11.07 MB / 0.5719 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4015, allocations: 4.291 MB / 0.5761 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.4031, allocations: 103.4 kB / 0.5762 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00706/0.4102, allocations: 3.61 MB / 0.5797 GB, free: 1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005618/0.4158, allocations: 2.253 MB / 0.5819 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.4182, allocations: 1.002 MB / 0.5829 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00858/0.4267, allocations: 6.043 MB / 0.5888 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/0.4317, allocations: 3.486 MB / 0.5922 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.4352, allocations: 1.99 MB / 0.5941 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.4392, allocations: 2.655 MB / 0.5967 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000978/0.4401, allocations: 408 kB / 0.5971 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.4441, allocations: 1.334 MB / 0.5984 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.448, allocations: 2.485 MB / 0.6009 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004405/0.4524, allocations: 2.011 MB / 0.6028 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.4682, allocations: 8.677 MB / 0.6113 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.4682, allocations: 4 kB / 0.6113 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4682, allocations: 0 / 0.6113 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003598/0.4686, allocations: 0 / 0.6113 GB, free: 0.5039 MB / 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.02268/0.4913, allocations: 6.084 MB / 0.6172 GB, free: 10.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.4913, allocations: 8.031 kB / 0.6172 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/0.5099, allocations: 2.571 MB / 0.6198 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.5246, allocations: 3.676 MB / 0.6233 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.525, allocations: 279.5 kB / 0.6236 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.5269, allocations: 383.6 kB / 0.624 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5496, allocations: 11.65 MB / 0.6354 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.5498, allocations: 67.45 kB / 0.6354 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004952/0.5503, allocations: 175.8 kB / 0.6356 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003945/0.5543, allocations: 2.146 MB / 0.6377 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.5756, allocations: 9.593 MB / 0.647 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/0.6422, allocations: 42.77 MB / 0.6888 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.6532, allocations: 3.333 MB / 0.6921 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.6566, allocations: 2.001 MB / 0.694 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.6694, allocations: 5.64 MB / 0.6995 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.6695, allocations: 55.5 kB / 0.6996 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.669e-06/0.6695, allocations: 0 / 0.6996 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05093/0.7204, allocations: 16.51 MB / 0.7157 GB, free: 3.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.7206, allocations: 204.8 kB / 0.7159 GB, free: 2.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009647/0.7303, allocations: 4.81 MB / 0.7206 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/0.7308, allocations: 45.7 kB / 0.7206 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00375/0.7345, allocations: 3.875 MB / 0.7244 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.7358, allocations: 0.698 MB / 0.7251 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/0.7382, allocations: 1.424 MB / 0.7265 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7383, allocations: 305.1 kB / 0.7268 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.742, allocations: 2.309 MB / 0.7291 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3024/1.044, allocations: 6.626 MB / 0.7355 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.055, allocations: 9.579 MB / 0.7449 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003378/1.055, allocations: 42.22 kB / 0.7449 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01682/1.072, allocations: 9.54 MB / 0.7542 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.072, allocations: 75.19 kB / 0.7543 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/1.072, allocations: 150.6 kB / 0.7544 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/1.076, allocations: 1.214 MB / 0.7556 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/1.08, allocations: 1.575 MB / 0.7572 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007925/1.088, allocations: 7.997 MB / 0.765 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/1.094, allocations: 370.5 kB / 0.7653 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008121/1.095, allocations: 427.7 kB / 0.7657 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.003468/1.098, allocations: 2.452 MB / 0.7681 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007205/1.099, allocations: 402.5 kB / 0.7685 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005126/1.104, allocations: 3.349 MB / 0.7718 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.104, allocations: 20 kB / 0.7718 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.104, allocations: 4 kB / 0.7718 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.104, allocations: 7.5 kB / 0.7718 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.115, allocations: 7 MB / 0.7787 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.115, allocations: 6.438 kB / 0.7787 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/1.116, allocations: 295.5 kB / 0.7789 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.119, allocations: 0.9875 MB / 0.7799 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.119, allocations: 36 kB / 0.7799 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/1.126, allocations: 7.367 MB / 0.7871 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.126, allocations: 7.938 kB / 0.7871 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007365/1.133, allocations: 5.811 MB / 0.7928 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.134, allocations: 365.9 kB / 0.7932 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/1.135, allocations: 32 kB / 0.7932 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.136, allocations: 87.88 kB / 0.7933 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/1.136, allocations: 108.7 kB / 0.7934 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.137, allocations: 44 kB / 0.7934 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003246/1.14, allocations: 2.81 MB / 0.7962 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.14, allocations: 0 / 0.7962 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005431/1.145, allocations: 1.137 MB / 0.7973 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.0003586/1.146, allocations: 165.1 kB / 0.7974 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007162/1.153, allocations: 5.364 MB / 0.8027 GB, free: 91.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/1.153, allocations: 0 / 0.8027 GB, free: 91.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.154, allocations: 1.53 MB / 0.8042 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.002816/1.157, allocations: 0.4978 MB / 0.8047 GB, free: 89.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.176, allocations: 10.9 MB / 0.8153 GB, free: 78.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/1.181, allocations: 3.25 MB / 0.8185 GB, free: 74.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004485/1.186, allocations: 2.032 MB / 0.8205 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/1.187, allocations: 259.4 kB / 0.8207 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.187, allocations: 0 / 0.8207 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06738/1.254, allocations: 40.88 MB / 0.8606 GB, free: 32.4 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.594767605885863]