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.00153/0.00153, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.002125/0.002125, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 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.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.2787/0.2787, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.[0-9,]+.|body.v_0.[0-9,]+.|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.[0-9,]+.|body.v_0.[0-9,]+.|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.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.026e-05, allocations: 7.156 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01521/0.01524, allocations: 15.44 MB / 394.2 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.0266, allocations: 4.903 MB / 399.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.0301, allocations: 111.5 kB / 399.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008873/0.03898, allocations: 5.545 MB / 404.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.0463, allocations: 2.631 MB / 407.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.04928, allocations: 1.314 MB / 408.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008853/0.05813, allocations: 7.722 MB / 416.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007331/0.06547, allocations: 5.957 MB / 422.4 MB, free: 6.547 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.07222, allocations: 4.023 MB / 426.4 MB, free: 2.516 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006357/0.07858, allocations: 4.104 MB / 430.5 MB, free: 14.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.08054, allocations: 0.582 MB / 431.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.0835, allocations: 1.245 MB / 432.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.08718, allocations: 3.464 MB / 435.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004429/0.0916, allocations: 2.208 MB / 438 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1977/0.2893, allocations: 7.209 MB / 445.2 MB, free: 67.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2894, allocations: 0 / 445.2 MB, free: 67.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2894, allocations: 3.469 kB / 445.2 MB, free: 67.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003766/0.2897, allocations: 0 / 445.2 MB, free: 67.45 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.01202/0.3017, allocations: 8.313 MB / 453.5 MB, free: 64.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.3018, allocations: 11.59 kB / 453.6 MB, free: 64.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/0.3095, allocations: 3.503 MB / 457.1 MB, free: 64.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.3158, allocations: 3.247 MB / 460.3 MB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.3161, allocations: 423.8 kB / 460.7 MB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.3179, allocations: 0.5524 MB / 461.3 MB, free: 63.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.3422, allocations: 13.46 MB / 474.7 MB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003153/0.3425, allocations: 66.61 kB / 474.8 MB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000841/0.3434, allocations: 275.2 kB / 475.1 MB, free: 58.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003409/0.3468, allocations: 3.151 MB / 478.2 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/0.3699, allocations: 8.252 MB / 486.5 MB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/0.4264, allocations: 70.93 MB / 0.5443 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009473/0.4359, allocations: 4.528 MB / 0.5488 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.4373, allocations: 0.9004 MB / 0.5496 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008058/0.4454, allocations: 5.69 MB / 0.5552 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.4455, allocations: 63.39 kB / 0.5553 GB, free: 3.973 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 5.781e-06/0.4455, allocations: 0 / 0.5553 GB, free: 3.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.04021/0.4857, allocations: 18.13 MB / 0.573 GB, free: 1.887 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003953/0.4861, allocations: 158.5 kB / 0.5731 GB, free: 1.703 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006208/0.4923, allocations: 4.888 MB / 0.5779 GB, free: 12.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005176/0.4928, allocations: 73.7 kB / 0.578 GB, free: 12.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003888/0.4967, allocations: 5.225 MB / 0.5831 GB, free: 7.559 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.4983, allocations: 1.188 MB / 0.5842 GB, free: 6.387 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002302/0.5006, allocations: 1.932 MB / 0.5861 GB, free: 4.438 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5007, allocations: 488.7 kB / 0.5866 GB, free: 3.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.5025, allocations: 0.9277 MB / 0.5875 GB, free: 3.023 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006634/0.5092, allocations: 9.13 MB / 0.5964 GB, free: 6.211 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.5196, allocations: 11.14 MB / 0.6073 GB, free: 7.406 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002489/0.5199, allocations: 56 kB / 0.6073 GB, free: 7.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.2173/0.7372, allocations: 7.635 MB / 0.6148 GB, free: 147.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.7374, allocations: 89.94 kB / 0.6149 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/0.7377, allocations: 195.2 kB / 0.6151 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.7379, allocations: 260.8 kB / 0.6153 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/0.7433, allocations: 2.216 MB / 0.6175 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002524/0.7435, allocations: 391.1 kB / 0.6178 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/0.7486, allocations: 0.544 MB / 0.6184 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009484/0.7496, allocations: 0.5485 MB / 0.6189 GB, free: 147.8 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.002568/0.7521, allocations: 0.9326 MB / 0.6198 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007619/0.7529, allocations: 0.5544 MB / 0.6204 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.7551, allocations: 1.723 MB / 0.622 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.7551, allocations: 30.12 kB / 0.6221 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.7551, allocations: 0 / 0.6221 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.7551, allocations: 18.56 kB / 0.6221 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.7664, allocations: 9.11 MB / 0.631 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.7664, allocations: 31.22 kB / 0.631 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7676, allocations: 0.5354 MB / 0.6315 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.653e-05/0.7676, allocations: 42.69 kB / 0.6316 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.7678, allocations: 98.16 kB / 0.6317 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-05/0.7678, allocations: 65.22 kB / 0.6317 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.037e-05/0.7678, allocations: 48.47 kB / 0.6318 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.7716, allocations: 4.164 MB / 0.6358 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.7729, allocations: 0.4908 MB / 0.6363 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/0.7733, allocations: 94.08 kB / 0.6364 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.7745, allocations: 175 kB / 0.6366 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.7748, allocations: 279.1 kB / 0.6368 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.775, allocations: 117.3 kB / 0.637 GB, free: 142.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003342/0.7783, allocations: 2.053 MB / 0.639 GB, free: 142 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7783, allocations: 3.781 kB / 0.639 GB, free: 142 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007513/0.7858, allocations: 1.54 MB / 0.6405 GB, free: 142 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.0008372/0.7867, allocations: 278.3 kB / 0.6407 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0073/0.794, allocations: 4.046 MB / 0.6447 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.004e-05/0.794, allocations: 5.062 kB / 0.6447 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.7953, allocations: 0.83 MB / 0.6455 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.7985, allocations: 0.6751 MB / 0.6462 GB, free: 140.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.8141, allocations: 12.75 MB / 0.6586 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.8162, allocations: 1.947 MB / 0.6605 GB, free: 132.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00356/0.8198, allocations: 2.218 MB / 0.6627 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/0.8205, allocations: 368.5 kB / 0.663 GB, free: 132.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.903e-06/0.8205, allocations: 0 / 0.663 GB, free: 132.2 MB / 490.7 MB Notification: Performance of Templates: time 0.05351/0.874, allocations: 34.9 MB / 0.6971 GB, free: 106.4 MB / 490.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.14774111402221]