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.002286/0.002286, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001913/0.001913, allocations: 165.3 kB / 24.27 MB, free: 152 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.554/1.554, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.3605/0.3605, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.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 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.16e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02598/0.02602, allocations: 15.42 MB / 392.7 MB, free: 3.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.03821, allocations: 4.888 MB / 397.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.041, allocations: 111.5 kB / 397.7 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0127/0.0537, allocations: 5.545 MB / 403.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009601/0.0633, allocations: 2.639 MB / 405.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.0671, allocations: 1.314 MB / 407.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.07946, allocations: 7.709 MB / 414.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009354/0.08882, allocations: 5.957 MB / 420.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007578/0.0964, allocations: 4.019 MB / 424.9 MB, free: 3.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007359/0.1038, allocations: 4.1 MB / 429 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.1055, allocations: 0.5859 MB / 429.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.1086, allocations: 1.252 MB / 430.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004206/0.1128, allocations: 3.46 MB / 434.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004399/0.1172, allocations: 2.204 MB / 436.5 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2151/0.3323, allocations: 11.25 MB / 447.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3323, allocations: 0 / 447.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3323, allocations: 0 / 447.8 MB, free: 64.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000479/0.3328, allocations: 0 / 447.8 MB, free: 64.66 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02133/0.3541, allocations: 8.981 MB / 456.7 MB, free: 61.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3542, allocations: 8.625 kB / 456.7 MB, free: 61.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.3657, allocations: 3.507 MB / 460.2 MB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008955/0.3747, allocations: 3.264 MB / 463.5 MB, free: 60.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.375, allocations: 423.3 kB / 463.9 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.377, allocations: 0.5492 MB / 464.5 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/0.4121, allocations: 14.12 MB / 478.6 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002722/0.4123, allocations: 70 kB / 478.7 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009753/0.4133, allocations: 266.9 kB / 478.9 MB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005219/0.4185, allocations: 3.154 MB / 482.1 MB, free: 54.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/0.4501, allocations: 8.625 MB / 490.7 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07913/0.5292, allocations: 76.35 MB / 0.5538 GB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/0.5466, allocations: 4.605 MB / 0.5583 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.549, allocations: 0.9758 MB / 0.5592 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/0.565, allocations: 5.829 MB / 0.5649 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/0.5651, allocations: 67.39 kB / 0.565 GB, free: 7.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 5.42e-06/0.5651, allocations: 3.188 kB / 0.565 GB, free: 7.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.06391/0.629, allocations: 18.54 MB / 0.5831 GB, free: 5.164 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6292, allocations: 158.5 kB / 0.5832 GB, free: 4.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/0.6407, allocations: 6.163 MB / 0.5893 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.6412, allocations: 72.98 kB / 0.5893 GB, free: 14.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005992/0.6472, allocations: 5.503 MB / 0.5947 GB, free: 9.289 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002202/0.6494, allocations: 1.247 MB / 0.5959 GB, free: 8.055 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00401/0.6534, allocations: 2.271 MB / 0.5981 GB, free: 5.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.6537, allocations: 484.7 kB / 0.5986 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/0.657, allocations: 1.064 MB / 0.5996 GB, free: 4.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/0.6696, allocations: 9.548 MB / 0.609 GB, free: 6.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2161/0.8857, allocations: 11.67 MB / 0.6204 GB, free: 139.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002884/0.886, allocations: 56.06 kB / 0.6204 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01762/0.9036, allocations: 7.9 MB / 0.6281 GB, free: 138.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.9038, allocations: 88.06 kB / 0.6282 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/0.904, allocations: 195.8 kB / 0.6284 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.9043, allocations: 262 kB / 0.6286 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006978/0.9112, allocations: 2.218 MB / 0.6308 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002817/0.9115, allocations: 385 kB / 0.6312 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/0.9193, allocations: 0.5519 MB / 0.6317 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/0.9211, allocations: 0.5454 MB / 0.6322 GB, free: 138.2 MB / 490.7 MB 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.005072/0.9262, allocations: 1.045 MB / 0.6333 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/0.9278, allocations: 0.5584 MB / 0.6338 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.9325, allocations: 1.835 MB / 0.6356 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.9325, allocations: 28.38 kB / 0.6356 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.9325, allocations: 7 kB / 0.6356 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.9326, allocations: 12.8 kB / 0.6357 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/0.9552, allocations: 10.96 MB / 0.6464 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-05/0.9553, allocations: 32 kB / 0.6464 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.9574, allocations: 0.5335 MB / 0.6469 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-05/0.9574, allocations: 44.31 kB / 0.6469 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.9576, allocations: 92.95 kB / 0.647 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.746e-05/0.9577, allocations: 70.44 kB / 0.6471 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.9577, allocations: 52.47 kB / 0.6472 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.9638, allocations: 4.461 MB / 0.6515 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.9653, allocations: 0.4927 MB / 0.652 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/0.9663, allocations: 91.97 kB / 0.6521 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.9684, allocations: 186.4 kB / 0.6523 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.9688, allocations: 273.4 kB / 0.6525 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.969, allocations: 116.9 kB / 0.6526 GB, free: 131.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004093/0.9731, allocations: 2.446 MB / 0.655 GB, free: 130.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9731, allocations: 0 / 0.655 GB, free: 130.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007983/0.9811, allocations: 1.553 MB / 0.6565 GB, free: 130.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * 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 Backend phase and start with SimCode phase: time 0.0006018/0.9817, allocations: 266 kB / 0.6568 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008409/0.9901, allocations: 4.567 MB / 0.6613 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.243e-05/0.9901, allocations: 3.719 kB / 0.6613 GB, free: 129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.9916, allocations: 0.9695 MB / 0.6622 GB, free: 128.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/0.9955, allocations: 0.6759 MB / 0.6629 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.016, allocations: 12.9 MB / 0.6755 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006926/1.023, allocations: 3.885 MB / 0.6793 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005749/1.029, allocations: 2.209 MB / 0.6814 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/1.03, allocations: 367.1 kB / 0.6818 GB, free: 113.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.245e-06/1.03, allocations: 0 / 0.6818 GB, free: 113.5 MB / 490.7 MB Notification: Performance of Templates: time 0.06849/1.099, allocations: 34.87 MB / 0.7158 GB, free: 81.53 MB / 490.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/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.090622131014243]