Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.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.001775/0.001775, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002306/0.002306, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2312/0.2312, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4007, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01812/0.4188, allocations: 13.96 MB / 0.5755 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.4315, allocations: 4.795 MB / 0.5802 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003775/0.4353, allocations: 119.4 kB / 0.5803 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.446, allocations: 5.012 MB / 0.5852 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008597/0.4546, allocations: 2.567 MB / 0.5877 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.458, allocations: 1.186 MB / 0.5888 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.47, allocations: 6.658 MB / 0.5953 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.4776, allocations: 5.062 MB / 0.6003 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.4827, allocations: 2.629 MB / 0.6028 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006495/0.4892, allocations: 3.941 MB / 0.6067 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002462/0.4917, allocations: 0.5742 MB / 0.6073 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.4958, allocations: 1.186 MB / 0.6084 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.5003, allocations: 3.292 MB / 0.6116 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00548/0.5058, allocations: 2.75 MB / 0.6143 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01631/0.5221, allocations: 11.21 MB / 0.6253 GB, free: 2.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5221, allocations: 0 / 0.6253 GB, free: 2.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5221, allocations: 0 / 0.6253 GB, free: 2.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005084/0.5227, allocations: 0 / 0.6253 GB, free: 2.922 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02373/0.5464, allocations: 7.698 MB / 0.6328 GB, free: 11.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.5464, allocations: 8.031 kB / 0.6328 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5581, allocations: 2.633 MB / 0.6354 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.5688, allocations: 3.533 MB / 0.6388 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005966/0.5694, allocations: 427.3 kB / 0.6392 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/0.5717, allocations: 0.5582 MB / 0.6398 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04902/0.6208, allocations: 19.87 MB / 0.6592 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/0.621, allocations: 75.39 kB / 0.6592 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009809/0.622, allocations: 263.8 kB / 0.6595 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005685/0.6276, allocations: 3.153 MB / 0.6626 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03934/0.667, allocations: 15.83 MB / 0.678 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5847/1.252, allocations: 59.7 MB / 0.7363 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01635/1.268, allocations: 5.671 MB / 0.7419 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/1.271, allocations: 1.888 MB / 0.7437 GB, free: 139 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/1.284, allocations: 7.507 MB / 0.751 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.284, allocations: 66.47 kB / 0.7511 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.452e-06/1.284, allocations: 0 / 0.7511 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05175/1.336, allocations: 21.52 MB / 0.7721 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.336, allocations: 162 kB / 0.7723 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005452/1.342, allocations: 5.303 MB / 0.7774 GB, free: 119.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004254/1.342, allocations: 73.7 kB / 0.7775 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002412/1.344, allocations: 5.063 MB / 0.7825 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.346, allocations: 1.16 MB / 0.7836 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/1.347, allocations: 1.827 MB / 0.7854 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/1.348, allocations: 301.1 kB / 0.7857 GB, free: 111 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.351, allocations: 2.642 MB / 0.7882 GB, free: 108.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005972/1.357, allocations: 8.202 MB / 0.7963 GB, free: 97.51 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.367, allocations: 11.76 MB / 0.8077 GB, free: 83.17 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/1.368, allocations: 56 kB / 0.8078 GB, free: 83.11 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01703/1.385, allocations: 10.51 MB / 0.8181 GB, free: 72.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002718/1.385, allocations: 88.94 kB / 0.8181 GB, free: 72.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004165/1.385, allocations: 196 kB / 0.8183 GB, free: 72.32 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/1.386, allocations: 260 kB / 0.8186 GB, free: 72.07 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007324/1.393, allocations: 2.215 MB / 0.8207 GB, free: 69.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/1.393, allocations: 382.5 kB / 0.8211 GB, free: 69.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006999/1.4, allocations: 467.5 kB / 0.8215 GB, free: 69.02 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.402, allocations: 0.5465 MB / 0.8221 GB, free: 68.48 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006028/1.408, allocations: 3.148 MB / 0.8252 GB, free: 65.32 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.409, allocations: 485.2 kB / 0.8256 GB, free: 64.84 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/1.415, allocations: 2.926 MB / 0.8285 GB, free: 61.9 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/1.415, allocations: 19.92 kB / 0.8285 GB, free: 61.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.415, allocations: 0 / 0.8285 GB, free: 61.88 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.416, allocations: 412.6 kB / 0.8289 GB, free: 61.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.417, allocations: 51.92 kB / 0.8289 GB, free: 61.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.419, allocations: 131.9 kB / 0.8291 GB, free: 61.29 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/1.42, allocations: 161.6 kB / 0.8292 GB, free: 61.13 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005625/1.425, allocations: 3.563 MB / 0.8327 GB, free: 57.61 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006503/1.432, allocations: 5.61 MB / 0.8382 GB, free: 51.93 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001593/1.434, allocations: 1.328 MB / 0.8395 GB, free: 50.59 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005151/1.439, allocations: 2.994 MB / 0.8424 GB, free: 47.61 MB / 0.5607 GB Notification: Performance of Backend: time 5.21e-07/1.439, allocations: 0 / 0.8424 GB, free: 47.61 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.449, allocations: 4.986 MB / 0.8473 GB, free: 42.68 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02292/1.472, allocations: 13.72 MB / 0.8607 GB, free: 28.91 MB / 0.5607 GB Notification: Performance of Templates: time 0.1075/1.579, allocations: 56.23 MB / 0.9156 GB, free: 5.41 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.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: 8.268003326003964]