Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3403/0.3403, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.385e-05, allocations: 2.312 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01959/0.01962, allocations: 13.97 MB / 391.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.03157, allocations: 4.802 MB / 396 MB, free: 16 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.03449, allocations: 115.5 kB / 396.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.04674, allocations: 5.373 MB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008687/0.05543, allocations: 2.635 MB / 404.1 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.0596, allocations: 1.318 MB / 405.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.07428, allocations: 7.708 MB / 413.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.08633, allocations: 5.957 MB / 419.1 MB, free: 8.789 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.09757, allocations: 4.011 MB / 423.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0085/0.1061, allocations: 4.026 MB / 427.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002548/0.1086, allocations: 0.582 MB / 427.7 MB, free: 156 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.113, allocations: 1.26 MB / 429 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005502/0.1185, allocations: 3.44 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00714/0.1257, allocations: 2.189 MB / 434.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1891/0.3148, allocations: 11.23 MB / 445.8 MB, free: 67.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3148, allocations: 0 / 445.8 MB, free: 67.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3148, allocations: 0 / 445.8 MB, free: 67.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004118/0.3152, allocations: 0 / 445.8 MB, free: 67.41 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.017/0.3322, allocations: 7.776 MB / 453.6 MB, free: 64.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3323, allocations: 8.656 kB / 453.6 MB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.3434, allocations: 3.647 MB / 457.3 MB, free: 64.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007778/0.3512, allocations: 3.537 MB / 460.8 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004315/0.3516, allocations: 424.4 kB / 461.2 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/0.3541, allocations: 0.5561 MB / 461.8 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/0.3935, allocations: 19.88 MB / 481.7 MB, free: 57.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/0.3938, allocations: 66.08 kB / 481.7 MB, free: 57.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.3949, allocations: 268 kB / 482 MB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005043/0.3999, allocations: 3.155 MB / 485.1 MB, free: 56.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03614/0.436, allocations: 15.82 MB / 0.4892 GB, free: 52.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07403/0.5101, allocations: 60.02 MB / 0.5478 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/0.5302, allocations: 5.929 MB / 0.5536 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004349/0.5345, allocations: 1.873 MB / 0.5555 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/0.5554, allocations: 7.667 MB / 0.5629 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.16e-05/0.5555, allocations: 68.41 kB / 0.563 GB, free: 10.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 5.48e-06/0.5555, allocations: 0 / 0.563 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.07488/0.6303, allocations: 22.5 MB / 0.585 GB, free: 4.293 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.6305, allocations: 158.5 kB / 0.5851 GB, free: 4.109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/0.6426, allocations: 5.516 MB / 0.5905 GB, free: 14.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006827/0.6433, allocations: 72.83 kB / 0.5906 GB, free: 14.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005474/0.6487, allocations: 5.017 MB / 0.5955 GB, free: 9.555 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/0.6506, allocations: 1.145 MB / 0.5966 GB, free: 8.422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005427/0.6561, allocations: 1.806 MB / 0.5984 GB, free: 6.605 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6562, allocations: 305.1 kB / 0.5987 GB, free: 6.305 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/0.6625, allocations: 2.644 MB / 0.6012 GB, free: 3.656 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1928/0.8553, allocations: 8.197 MB / 0.6092 GB, free: 141 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/0.8674, allocations: 11.75 MB / 0.6207 GB, free: 131.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002812/0.8677, allocations: 56.09 kB / 0.6208 GB, free: 131.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02046/0.8881, allocations: 11.01 MB / 0.6315 GB, free: 127.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.8883, allocations: 87.47 kB / 0.6316 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/0.8886, allocations: 196.5 kB / 0.6318 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.8889, allocations: 262.4 kB / 0.632 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007203/0.8961, allocations: 2.233 MB / 0.6342 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002915/0.8964, allocations: 392.5 kB / 0.6346 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00726/0.9036, allocations: 0.6069 MB / 0.6352 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/0.9053, allocations: 0.5425 MB / 0.6357 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.007098/0.9124, allocations: 3.144 MB / 0.6388 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/0.9141, allocations: 0.5547 MB / 0.6393 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00644/0.9206, allocations: 2.879 MB / 0.6421 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.9206, allocations: 30.56 kB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/0.9207, allocations: 1.156 kB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.144e-05/0.9207, allocations: 14.97 kB / 0.6422 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/0.9432, allocations: 10.17 MB / 0.6521 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-05/0.9433, allocations: 31.12 kB / 0.6521 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/0.9455, allocations: 0.541 MB / 0.6527 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-05/0.9455, allocations: 50.59 kB / 0.6527 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/0.9458, allocations: 95.61 kB / 0.6528 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.13e-05/0.9459, allocations: 65.42 kB / 0.6529 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.002e-05/0.9459, allocations: 52.7 kB / 0.6529 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006807/0.9527, allocations: 5.586 MB / 0.6584 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.9546, allocations: 0.4994 MB / 0.6589 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/0.9557, allocations: 86.48 kB / 0.659 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/0.9586, allocations: 228.1 kB / 0.6592 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.959, allocations: 278 kB / 0.6594 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.9591, allocations: 116.1 kB / 0.6595 GB, free: 117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005156/0.9643, allocations: 3.165 MB / 0.6626 GB, free: 115.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9643, allocations: 0 / 0.6626 GB, free: 115.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008958/0.9732, allocations: 1.549 MB / 0.6641 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.0009015/0.9741, allocations: 272.2 kB / 0.6644 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.9846, allocations: 5.819 MB / 0.6701 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.877e-05/0.9846, allocations: 8 kB / 0.6701 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.987, allocations: 1.298 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.005409/0.9924, allocations: 0.6668 MB / 0.672 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.019, allocations: 14.43 MB / 0.6861 GB, free: 93.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007498/1.026, allocations: 4.26 MB / 0.6903 GB, free: 90.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005823/1.032, allocations: 2.523 MB / 0.6927 GB, free: 88.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.033, allocations: 356.4 kB / 0.6931 GB, free: 88.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.502e-06/1.033, allocations: 7.938 kB / 0.6931 GB, free: 88.25 MB / 474.7 MB Notification: Performance of Templates: time 0.0701/1.104, allocations: 35.16 MB / 0.7274 GB, free: 53.91 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.808923144009896]