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.001098/0.001098, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001327/0.001327, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9728/0.9728, allocations: 177 MB / 204.8 MB, free: 5.586 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.2752/0.2752, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.643e-06/1.643e-06, allocations: 3.938 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.039e-05, allocations: 3.719 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01289/0.01292, allocations: 15.5 MB / 394.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00899/0.02191, allocations: 4.921 MB / 399.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.02453, allocations: 115.5 kB / 399.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007206/0.03174, allocations: 5.545 MB / 404.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.0388, allocations: 2.639 MB / 407.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.04157, allocations: 1.322 MB / 408.8 MB, free: 3.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009767/0.05134, allocations: 7.723 MB / 416.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007381/0.05872, allocations: 5.942 MB / 422.5 MB, free: 6.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.06509, allocations: 4.031 MB / 426.5 MB, free: 2.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005833/0.07093, allocations: 4.096 MB / 430.6 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.07264, allocations: 0.582 MB / 431.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.07554, allocations: 1.252 MB / 432.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003663/0.0792, allocations: 3.46 MB / 435.9 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.08302, allocations: 2.208 MB / 438.1 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1844/0.2674, allocations: 7.213 MB / 445.3 MB, free: 67.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.2675, allocations: 0 / 445.3 MB, free: 67.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2675, allocations: 0 / 445.3 MB, free: 67.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004104/0.2679, allocations: 0 / 445.3 MB, free: 67.84 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.01634/0.2842, allocations: 8.31 MB / 453.6 MB, free: 64.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003052/0.2873, allocations: 11.47 kB / 453.6 MB, free: 64.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.3013, allocations: 3.503 MB / 457.2 MB, free: 64.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.313, allocations: 3.253 MB / 460.4 MB, free: 63.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.3133, allocations: 421.4 kB / 460.8 MB, free: 63.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004242/0.3175, allocations: 0.5499 MB / 461.4 MB, free: 63.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.3573, allocations: 13.46 MB / 474.8 MB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003324/0.3576, allocations: 72.98 kB / 474.9 MB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.3588, allocations: 270.7 kB / 475.2 MB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003551/0.3623, allocations: 3.151 MB / 478.3 MB, free: 58.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/0.3839, allocations: 8.256 MB / 486.6 MB, free: 57.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04894/0.4329, allocations: 70.93 MB / 0.5444 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007818/0.4407, allocations: 4.518 MB / 0.5488 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.4418, allocations: 0.9068 MB / 0.5497 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006788/0.4486, allocations: 5.687 MB / 0.5553 GB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4486, allocations: 66.95 kB / 0.5554 GB, free: 3.941 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 4.057e-06/0.4486, allocations: 0 / 0.5554 GB, free: 3.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.02959/0.4782, allocations: 18.12 MB / 0.5731 GB, free: 1.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.4783, allocations: 158.5 kB / 0.5732 GB, free: 1.672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/0.4834, allocations: 4.903 MB / 0.578 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.4836, allocations: 65.7 kB / 0.5781 GB, free: 12.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.487, allocations: 5.223 MB / 0.5832 GB, free: 7.527 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.488, allocations: 1.187 MB / 0.5843 GB, free: 6.355 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002399/0.4904, allocations: 1.935 MB / 0.5862 GB, free: 4.406 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4906, allocations: 480.7 kB / 0.5867 GB, free: 3.934 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4922, allocations: 0.9316 MB / 0.5876 GB, free: 2.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/0.4974, allocations: 9.132 MB / 0.5965 GB, free: 6.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007726/0.5052, allocations: 11.14 MB / 0.6074 GB, free: 7.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.226e-05/0.5052, allocations: 56 kB / 0.6074 GB, free: 7.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.1911/0.6963, allocations: 7.633 MB / 0.6149 GB, free: 142.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.6965, allocations: 90.62 kB / 0.615 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/0.6968, allocations: 198.2 kB / 0.6152 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.697, allocations: 260.4 kB / 0.6154 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.7016, allocations: 2.213 MB / 0.6176 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002082/0.7018, allocations: 385.1 kB / 0.6179 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.7052, allocations: 0.5522 MB / 0.6185 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/0.7056, allocations: 0.5445 MB / 0.619 GB, free: 142.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.001947/0.7076, allocations: 0.9328 MB / 0.6199 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/0.7081, allocations: 0.5605 MB / 0.6205 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.7102, allocations: 1.716 MB / 0.6221 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.7102, allocations: 29.56 kB / 0.6222 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7102, allocations: 3.562 kB / 0.6222 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.7102, allocations: 19 kB / 0.6222 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009809/0.72, allocations: 9.109 MB / 0.6311 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.72, allocations: 31.28 kB / 0.6311 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.721, allocations: 0.5343 MB / 0.6316 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.991e-05/0.7211, allocations: 46.97 kB / 0.6317 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.7212, allocations: 89.69 kB / 0.6318 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-05/0.7212, allocations: 73.66 kB / 0.6318 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/0.7212, allocations: 52.91 kB / 0.6319 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.7241, allocations: 4.151 MB / 0.6359 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.7247, allocations: 0.4958 MB / 0.6364 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.725, allocations: 89.67 kB / 0.6365 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009973/0.726, allocations: 180.8 kB / 0.6367 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.7262, allocations: 277.1 kB / 0.6369 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.7263, allocations: 122 kB / 0.6371 GB, free: 137.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002186/0.7285, allocations: 2.051 MB / 0.6391 GB, free: 137.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7285, allocations: 1.25 kB / 0.6391 GB, free: 137.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005198/0.7337, allocations: 1.545 MB / 0.6406 GB, free: 137.2 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.0004433/0.7341, allocations: 274.1 kB / 0.6408 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005398/0.7395, allocations: 4.048 MB / 0.6448 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/0.7395, allocations: 4.781 kB / 0.6448 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009096/0.7404, allocations: 0.8322 MB / 0.6456 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.7426, allocations: 0.6708 MB / 0.6463 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.7574, allocations: 12.74 MB / 0.6587 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.7589, allocations: 1.954 MB / 0.6606 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003206/0.7621, allocations: 2.209 MB / 0.6628 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.7627, allocations: 358.8 kB / 0.6631 GB, free: 127.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7627, allocations: 6.062 kB / 0.6631 GB, free: 127.9 MB / 490.7 MB Notification: Performance of Templates: time 0.05252/0.8152, allocations: 34.9 MB / 0.6972 GB, free: 103.5 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.23507164278999]