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.001465/0.001465, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001147/0.001147, allocations: 160.1 kB / 25.61 MB, free: 8.582 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 0.9786/0.9786, allocations: 177 MB / 205.9 MB, free: 4.457 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.1589/0.1589, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.843e-06/1.843e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.098e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.009857/0.009878, allocations: 15.12 MB / 395.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.01751, allocations: 4.878 MB / 400 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.01885, allocations: 111.5 kB / 400.1 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.02342, allocations: 5.467 MB / 405.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.02765, allocations: 2.643 MB / 408.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.02948, allocations: 1.322 MB / 409.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006572/0.03605, allocations: 7.695 MB / 417.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005036/0.04109, allocations: 5.953 MB / 423.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.04527, allocations: 4.12 MB / 427.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.04909, allocations: 3.983 MB / 431.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005598/0.04965, allocations: 0.5703 MB / 431.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.05123, allocations: 1.237 MB / 433.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002179/0.05341, allocations: 3.448 MB / 436.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.055, allocations: 2.181 MB / 438.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005611/0.06061, allocations: 7.157 MB / 445.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.06062, allocations: 0 / 445.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.06062, allocations: 4 kB / 445.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.028e-05/0.06069, allocations: 0 / 445.9 MB, free: 4.578 MB / 362.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.007315/0.068, allocations: 7.9 MB / 453.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.06805, allocations: 8.031 kB / 453.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.07295, allocations: 2.404 MB / 456.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.0761, allocations: 2.915 MB / 459.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.07635, allocations: 423.3 kB / 459.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/0.07694, allocations: 0.5547 MB / 460.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.09077, allocations: 9.947 MB / 470 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.09092, allocations: 75.38 kB / 470.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.09135, allocations: 259.8 kB / 470.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002452/0.09381, allocations: 2.795 MB / 473.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.1043, allocations: 4.631 MB / 477.8 MB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/0.3822, allocations: 69.8 MB / 0.5348 GB, free: 50.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/0.3896, allocations: 3.638 MB / 0.5383 GB, free: 50.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.3905, allocations: 0.785 MB / 0.5391 GB, free: 50.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.3969, allocations: 5.411 MB / 0.5444 GB, free: 48.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.3969, allocations: 64.53 kB / 0.5444 GB, free: 48.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 3.997e-06/0.3969, allocations: 0.8125 kB / 0.5444 GB, free: 48.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.02443/0.4213, allocations: 11.69 MB / 0.5558 GB, free: 38.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.4214, allocations: 158.2 kB / 0.556 GB, free: 38.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.4255, allocations: 4.931 MB / 0.5608 GB, free: 34.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.4256, allocations: 65.7 kB / 0.5609 GB, free: 34.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.4275, allocations: 5.305 MB / 0.5661 GB, free: 29.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/0.4281, allocations: 1.194 MB / 0.5672 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.4295, allocations: 2.006 MB / 0.5692 GB, free: 25.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.4295, allocations: 480.7 kB / 0.5696 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.4308, allocations: 0.8381 MB / 0.5705 GB, free: 24.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.4346, allocations: 9.248 MB / 0.5795 GB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008437/0.443, allocations: 11.1 MB / 0.5903 GB, free: 12.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.845e-05/0.4431, allocations: 60 kB / 0.5904 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.009936/0.4531, allocations: 7.241 MB / 0.5975 GB, free: 5.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/0.4532, allocations: 95.11 kB / 0.5975 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/0.4533, allocations: 200.5 kB / 0.5977 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.4536, allocations: 268 kB / 0.598 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.4576, allocations: 2.187 MB / 0.6001 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003196/0.4579, allocations: 394.5 kB / 0.6005 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.4617, allocations: 415.1 kB / 0.6009 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/0.4622, allocations: 488 kB / 0.6014 GB, free: 1.684 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * 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 (1201): * Single equations (assignments): 1198 * 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.002029/0.4642, allocations: 0.9516 MB / 0.6023 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/0.4648, allocations: 0.5593 MB / 0.6028 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.4666, allocations: 1.572 MB / 0.6044 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4666, allocations: 31.28 kB / 0.6044 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4666, allocations: 4 kB / 0.6044 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.4667, allocations: 15.94 kB / 0.6044 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.4778, allocations: 8.956 MB / 0.6132 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.4778, allocations: 32 kB / 0.6132 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.4788, allocations: 0.5148 MB / 0.6137 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/0.4789, allocations: 48 kB / 0.6137 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.479, allocations: 91.98 kB / 0.6138 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.751e-05/0.479, allocations: 63.78 kB / 0.6139 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-05/0.479, allocations: 55.91 kB / 0.614 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.4822, allocations: 3.965 MB / 0.6178 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.4828, allocations: 496.5 kB / 0.6183 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.4831, allocations: 87.97 kB / 0.6184 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.484, allocations: 99.97 kB / 0.6185 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.4843, allocations: 283.8 kB / 0.6187 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4844, allocations: 104 kB / 0.6188 GB, free: 14.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002025/0.4864, allocations: 1.933 MB / 0.6207 GB, free: 12.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4864, allocations: 0 / 0.6207 GB, free: 12.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005291/0.4917, allocations: 1.551 MB / 0.6222 GB, free: 10.94 MB / 458.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.0003705/0.492, allocations: 278.3 kB / 0.6225 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.4964, allocations: 3.86 MB / 0.6263 GB, free: 6.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4964, allocations: 4 kB / 0.6263 GB, free: 6.816 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.4971, allocations: 0.773 MB / 0.627 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.4991, allocations: 0.6717 MB / 0.6277 GB, free: 5.406 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5146, allocations: 12.69 MB / 0.6401 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.5165, allocations: 1.954 MB / 0.642 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00207/0.5185, allocations: 0.7665 MB / 0.6427 GB, free: 5.285 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.5197, allocations: 0.8808 MB / 0.6436 GB, free: 4.402 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5197, allocations: 0 / 0.6436 GB, free: 4.402 MB / 474.7 MB Notification: Performance of Templates: time 0.242/0.7617, allocations: 40.32 MB / 0.683 GB, free: 162.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.306759259663522]