Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001471/0.001471, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001572/0.001572, allocations: 161.7 kB / 24.27 MB, free: 172 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.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3758/0.3758, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.492e-05, allocations: 2.312 kB / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02029/0.02032, allocations: 13.99 MB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.03226, allocations: 4.802 MB / 394.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.03447, allocations: 115.5 kB / 394.2 MB, free: 1.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.04606, allocations: 5.373 MB / 399.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007648/0.0537, allocations: 2.627 MB / 402.2 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.05683, allocations: 1.318 MB / 403.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.06862, allocations: 7.705 MB / 411.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009831/0.07845, allocations: 5.957 MB / 417.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0093/0.08775, allocations: 4.015 MB / 421.2 MB, free: 6.832 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007739/0.09549, allocations: 4.026 MB / 425.2 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.09745, allocations: 0.5859 MB / 425.8 MB, free: 2.211 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.1018, allocations: 1.249 MB / 427 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004892/0.1067, allocations: 3.448 MB / 430.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.1124, allocations: 2.193 MB / 432.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.129, allocations: 11.22 MB / 443.9 MB, free: 48 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.129, allocations: 0 / 443.9 MB, free: 48 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.129, allocations: 4 kB / 443.9 MB, free: 44 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000367/0.1294, allocations: 4 kB / 443.9 MB, free: 40 kB / 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.3128/0.4422, allocations: 7.776 MB / 451.7 MB, free: 99.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4422, allocations: 8.5 kB / 451.7 MB, free: 99.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.4538, allocations: 3.641 MB / 455.3 MB, free: 98.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/0.4606, allocations: 3.549 MB / 458.9 MB, free: 96.63 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.4609, allocations: 424.5 kB / 459.3 MB, free: 96.49 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.462, allocations: 0.5499 MB / 459.8 MB, free: 96.36 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/0.4975, allocations: 19.87 MB / 479.7 MB, free: 88.63 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.4977, allocations: 79.83 kB / 479.8 MB, free: 88.58 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008509/0.4986, allocations: 266.6 kB / 480 MB, free: 88.43 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00509/0.5037, allocations: 3.149 MB / 483.2 MB, free: 87.86 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03383/0.5375, allocations: 15.83 MB / 499 MB, free: 74.38 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05856/0.5961, allocations: 60.01 MB / 0.5459 GB, free: 12.8 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.6108, allocations: 5.934 MB / 0.5517 GB, free: 6.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.6133, allocations: 1.863 MB / 0.5536 GB, free: 4.969 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.6266, allocations: 7.668 MB / 0.561 GB, free: 13.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.6267, allocations: 60.56 kB / 0.5611 GB, free: 13.19 MB / 426.8 MB Notification: Performance of pre-optimization done (n=257): time 4.979e-06/0.6267, allocations: 0 / 0.5611 GB, free: 13.19 MB / 426.8 MB Notification: Performance of matching and sorting (n=291): time 0.06611/0.6928, allocations: 22.5 MB / 0.5831 GB, free: 6.68 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.693, allocations: 162.5 kB / 0.5832 GB, free: 6.492 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009471/0.7024, allocations: 5.52 MB / 0.5886 GB, free: 0.9648 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004527/0.7029, allocations: 69.7 kB / 0.5887 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004783/0.7077, allocations: 5.019 MB / 0.5936 GB, free: 11.83 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001879/0.7095, allocations: 1.151 MB / 0.5947 GB, free: 10.67 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002843/0.7124, allocations: 1.795 MB / 0.5965 GB, free: 8.859 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7126, allocations: 309.1 kB / 0.5968 GB, free: 8.555 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005462/0.718, allocations: 2.638 MB / 0.5993 GB, free: 5.91 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1709/0.8889, allocations: 8.194 MB / 0.6073 GB, free: 125.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.9002, allocations: 11.75 MB / 0.6188 GB, free: 116.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/0.9004, allocations: 58.66 kB / 0.6189 GB, free: 116.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01688/0.9173, allocations: 11.01 MB / 0.6296 GB, free: 112.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.9174, allocations: 90 kB / 0.6297 GB, free: 112.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/0.9177, allocations: 195.1 kB / 0.6299 GB, free: 112.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.9179, allocations: 260.3 kB / 0.6301 GB, free: 112.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/0.9244, allocations: 2.24 MB / 0.6323 GB, free: 112.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002465/0.9247, allocations: 391.3 kB / 0.6327 GB, free: 112 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006826/0.9315, allocations: 0.5992 MB / 0.6333 GB, free: 111.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/0.9327, allocations: 0.5371 MB / 0.6338 GB, free: 111.8 MB / 458.8 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.005461/0.9382, allocations: 3.144 MB / 0.6369 GB, free: 110.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/0.9394, allocations: 0.5565 MB / 0.6374 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.9439, allocations: 2.883 MB / 0.6402 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/0.9439, allocations: 30.38 kB / 0.6403 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.944, allocations: 4.547 kB / 0.6403 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.944, allocations: 13.16 kB / 0.6403 GB, free: 109.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.9608, allocations: 10.17 MB / 0.6502 GB, free: 105.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.9609, allocations: 34.69 kB / 0.6502 GB, free: 105.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.9627, allocations: 0.5421 MB / 0.6508 GB, free: 105.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.595e-05/0.9628, allocations: 46.73 kB / 0.6508 GB, free: 105.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.9629, allocations: 94.8 kB / 0.6509 GB, free: 105.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.293e-05/0.963, allocations: 69.72 kB / 0.651 GB, free: 105.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.962e-05/0.963, allocations: 50.97 kB / 0.651 GB, free: 105 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006014/0.969, allocations: 5.579 MB / 0.6565 GB, free: 101.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.9702, allocations: 0.4969 MB / 0.657 GB, free: 101.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/0.9707, allocations: 93.62 kB / 0.6571 GB, free: 101.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/0.9728, allocations: 222 kB / 0.6573 GB, free: 101.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.9731, allocations: 273.4 kB / 0.6575 GB, free: 101.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.9733, allocations: 120.2 kB / 0.6576 GB, free: 101.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004156/0.9774, allocations: 3.168 MB / 0.6607 GB, free: 100.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.9774, allocations: 0 / 0.6607 GB, free: 100.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007291/0.9847, allocations: 1.551 MB / 0.6622 GB, free: 99.64 MB / 458.8 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.0006422/0.9853, allocations: 278.1 kB / 0.6625 GB, free: 99.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009481/0.9948, allocations: 5.813 MB / 0.6682 GB, free: 94.34 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.069e-05/0.9949, allocations: 8 kB / 0.6682 GB, free: 94.33 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.9969, allocations: 1.299 MB / 0.6695 GB, free: 93.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.001, allocations: 0.6728 MB / 0.6701 GB, free: 92.64 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/1.025, allocations: 14.43 MB / 0.6842 GB, free: 78.96 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00495/1.03, allocations: 4.26 MB / 0.6884 GB, free: 75.82 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005175/1.036, allocations: 2.518 MB / 0.6908 GB, free: 74.23 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008956/1.036, allocations: 359.1 kB / 0.6912 GB, free: 73.89 MB / 458.8 MB Notification: Performance of SimCode: time 1.433e-06/1.036, allocations: 4 kB / 0.6912 GB, free: 73.89 MB / 458.8 MB Notification: Performance of Templates: time 0.0673/1.104, allocations: 35.16 MB / 0.7255 GB, free: 40.23 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.790735563961789]