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.001387/0.001387, allocations: 88.33 kB / 20.95 MB, free: 3.578 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.001554/0.001554, allocations: 161.3 kB / 24.27 MB, free: 276 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.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.354/0.354, allocations: 34.27 MB / 295.3 MB, free: 0.6602 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 4.008e-06/4.008e-06, allocations: 4 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.248e-05, allocations: 2.312 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.03079/0.03082, allocations: 13.97 MB / 391.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.04901, allocations: 4.794 MB / 396.1 MB, free: 72 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004625/0.05364, allocations: 119.5 kB / 396.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01699/0.07062, allocations: 5.373 MB / 401.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.08256, allocations: 2.639 MB / 404.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005072/0.08763, allocations: 1.31 MB / 405.5 MB, free: 6.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0168/0.1044, allocations: 7.705 MB / 413.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.1176, allocations: 5.953 MB / 419.2 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.131, allocations: 4.007 MB / 423.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.1425, allocations: 4.037 MB / 427.2 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002989/0.1454, allocations: 0.582 MB / 427.8 MB, free: 208 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.1503, allocations: 1.245 MB / 429 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006374/0.1567, allocations: 3.452 MB / 432.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006168/0.1628, allocations: 2.193 MB / 434.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2099/0.3728, allocations: 11.22 MB / 445.9 MB, free: 67.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3728, allocations: 0 / 445.9 MB, free: 67.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3728, allocations: 3.188 kB / 445.9 MB, free: 67.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004942/0.3733, allocations: 0 / 445.9 MB, free: 67.43 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.01744/0.3907, allocations: 7.786 MB / 453.7 MB, free: 64.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3908, allocations: 8.688 kB / 453.7 MB, free: 64.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4028, allocations: 3.642 MB / 457.3 MB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.4099, allocations: 3.539 MB / 460.9 MB, free: 63.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.4102, allocations: 427.4 kB / 461.3 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.4117, allocations: 0.553 MB / 461.9 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04168/0.4534, allocations: 19.88 MB / 481.7 MB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006077/0.454, allocations: 72.25 kB / 481.8 MB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002879/0.4569, allocations: 271.1 kB / 482.1 MB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006286/0.4632, allocations: 3.148 MB / 485.2 MB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/0.4977, allocations: 15.82 MB / 0.4893 GB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07377/0.5715, allocations: 60.02 MB / 0.5479 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/0.5911, allocations: 5.935 MB / 0.5537 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004177/0.5953, allocations: 1.871 MB / 0.5555 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/0.6152, allocations: 7.674 MB / 0.563 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.647e-05/0.6153, allocations: 64.41 kB / 0.5631 GB, free: 10.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 6.101e-06/0.6153, allocations: 0 / 0.5631 GB, free: 10.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.07211/0.6874, allocations: 22.48 MB / 0.585 GB, free: 4.336 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.6875, allocations: 172.5 kB / 0.5852 GB, free: 4.145 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009579/0.6971, allocations: 5.518 MB / 0.5906 GB, free: 14.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005857/0.6977, allocations: 71.5 kB / 0.5907 GB, free: 14.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00525/0.703, allocations: 5.016 MB / 0.5956 GB, free: 9.586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001931/0.7049, allocations: 1.147 MB / 0.5967 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003102/0.708, allocations: 1.802 MB / 0.5984 GB, free: 6.641 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7082, allocations: 305.1 kB / 0.5987 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005492/0.7137, allocations: 2.644 MB / 0.6013 GB, free: 3.691 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1932/0.9068, allocations: 8.192 MB / 0.6093 GB, free: 141 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.9184, allocations: 11.75 MB / 0.6208 GB, free: 131.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002602/0.9187, allocations: 57.12 kB / 0.6208 GB, free: 131.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0214/0.9401, allocations: 11.01 MB / 0.6316 GB, free: 127.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.9402, allocations: 87.47 kB / 0.6317 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002658/0.9405, allocations: 200.2 kB / 0.6319 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.9407, allocations: 263 kB / 0.6321 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/0.948, allocations: 2.238 MB / 0.6343 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002413/0.9482, allocations: 388.1 kB / 0.6347 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/0.9559, allocations: 0.6026 MB / 0.6353 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/0.9572, allocations: 0.5438 MB / 0.6358 GB, free: 127.1 MB / 474.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.005658/0.9629, allocations: 3.146 MB / 0.6389 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.9641, allocations: 0.5532 MB / 0.6394 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.969, allocations: 2.876 MB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.9691, allocations: 35.95 kB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9691, allocations: 1.562 kB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.9691, allocations: 14.66 kB / 0.6423 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.9856, allocations: 10.17 MB / 0.6522 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.9857, allocations: 31.34 kB / 0.6522 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/0.9876, allocations: 0.5455 MB / 0.6528 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.488e-05/0.9877, allocations: 47.61 kB / 0.6528 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.9879, allocations: 92 kB / 0.6529 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.9879, allocations: 66.42 kB / 0.653 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/0.9879, allocations: 47.31 kB / 0.653 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.994, allocations: 5.591 MB / 0.6585 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.9951, allocations: 0.4968 MB / 0.6589 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/0.9956, allocations: 99.91 kB / 0.659 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.9978, allocations: 219.6 kB / 0.6592 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.9981, allocations: 271.8 kB / 0.6595 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.9983, allocations: 122.6 kB / 0.6596 GB, free: 116.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004208/1.002, allocations: 3.171 MB / 0.6627 GB, free: 115.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.002, allocations: 0 / 0.6627 GB, free: 115.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007938/1.01, allocations: 1.548 MB / 0.6642 GB, free: 114.2 MB / 474.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.0007556/1.011, allocations: 269.8 kB / 0.6645 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.023, allocations: 5.813 MB / 0.6702 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.068e-05/1.023, allocations: 8.25 kB / 0.6702 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/1.025, allocations: 1.307 MB / 0.6714 GB, free: 107.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.03, allocations: 0.6756 MB / 0.6721 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/1.054, allocations: 14.41 MB / 0.6862 GB, free: 93.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004992/1.059, allocations: 4.269 MB / 0.6904 GB, free: 90.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005297/1.064, allocations: 2.519 MB / 0.6928 GB, free: 88.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009849/1.065, allocations: 364.4 kB / 0.6932 GB, free: 88.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.065, allocations: 0 / 0.6932 GB, free: 88.27 MB / 474.7 MB Notification: Performance of Templates: time 0.06707/1.132, allocations: 35.15 MB / 0.7275 GB, free: 53.94 MB / 474.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=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/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: 7.85910851706285]