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.002678/0.002678, allocations: 107.5 kB / 20.97 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.002755/0.002755, allocations: 156.8 kB / 24.27 MB, free: 152 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.574/1.574, allocations: 177 MB / 204.4 MB, free: 5.613 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.3589/0.3589, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.224e-05, allocations: 6.25 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02243/0.02246, allocations: 15.41 MB / 392.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.03497, allocations: 4.896 MB / 397.5 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.03804, allocations: 115.5 kB / 397.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.05078, allocations: 5.549 MB / 403.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009216/0.06, allocations: 2.631 MB / 405.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.06396, allocations: 1.314 MB / 407.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01318/0.07714, allocations: 7.714 MB / 414.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.08731, allocations: 5.957 MB / 420.8 MB, free: 7.109 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.09751, allocations: 4.015 MB / 424.8 MB, free: 3.086 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0093/0.1068, allocations: 4.1 MB / 428.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.1091, allocations: 0.582 MB / 429.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.1131, allocations: 1.252 MB / 430.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005795/0.1189, allocations: 3.464 MB / 434.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006088/0.125, allocations: 2.197 MB / 436.4 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2043/0.3293, allocations: 11.25 MB / 447.7 MB, free: 64.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3293, allocations: 2.844 kB / 447.7 MB, free: 64.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3293, allocations: 0 / 447.7 MB, free: 64.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005088/0.3298, allocations: 0 / 447.7 MB, free: 64.67 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.0212/0.351, allocations: 8.982 MB / 456.7 MB, free: 61.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.351, allocations: 12.8 kB / 456.7 MB, free: 61.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.3643, allocations: 3.507 MB / 460.2 MB, free: 61.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009819/0.3741, allocations: 3.262 MB / 463.4 MB, free: 60.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.3744, allocations: 419.9 kB / 463.8 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/0.3766, allocations: 0.558 MB / 464.4 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/0.4115, allocations: 14.13 MB / 478.5 MB, free: 54.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/0.4117, allocations: 68.19 kB / 478.6 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009941/0.4127, allocations: 268.5 kB / 478.9 MB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005219/0.418, allocations: 3.148 MB / 482 MB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/0.4501, allocations: 8.617 MB / 490.6 MB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08565/0.5357, allocations: 76.35 MB / 0.5537 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/0.553, allocations: 4.612 MB / 0.5582 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.556, allocations: 0.9809 MB / 0.5591 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01699/0.573, allocations: 5.819 MB / 0.5648 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.741e-05/0.573, allocations: 66.67 kB / 0.5649 GB, free: 7.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 6.332e-06/0.573, allocations: 0 / 0.5649 GB, free: 7.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.06378/0.6368, allocations: 18.54 MB / 0.583 GB, free: 5.141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.637, allocations: 162.5 kB / 0.5832 GB, free: 4.953 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/0.6485, allocations: 6.167 MB / 0.5892 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005607/0.649, allocations: 69.7 kB / 0.5892 GB, free: 14.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005577/0.6546, allocations: 5.497 MB / 0.5946 GB, free: 9.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002056/0.6567, allocations: 1.251 MB / 0.5958 GB, free: 8.023 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003649/0.6603, allocations: 2.266 MB / 0.598 GB, free: 5.742 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.6606, allocations: 484.7 kB / 0.5985 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.6635, allocations: 1.068 MB / 0.5995 GB, free: 4.191 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/0.6753, allocations: 9.546 MB / 0.6089 GB, free: 6.965 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1929/0.8682, allocations: 11.68 MB / 0.6203 GB, free: 139.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/0.8684, allocations: 59 kB / 0.6203 GB, free: 139.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01797/0.8864, allocations: 7.903 MB / 0.628 GB, free: 138.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.8865, allocations: 87.31 kB / 0.6281 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/0.8867, allocations: 196.9 kB / 0.6283 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.887, allocations: 262.3 kB / 0.6286 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006848/0.8938, allocations: 2.214 MB / 0.6307 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002681/0.8941, allocations: 391.3 kB / 0.6311 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006202/0.9003, allocations: 0.5405 MB / 0.6316 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009087/0.9012, allocations: 0.5437 MB / 0.6322 GB, free: 138.1 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.002428/0.9036, allocations: 1.052 MB / 0.6332 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/0.9045, allocations: 0.5557 MB / 0.6337 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.9079, allocations: 1.837 MB / 0.6355 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.908, allocations: 28.06 kB / 0.6356 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.908, allocations: 3.781 kB / 0.6356 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.908, allocations: 17.22 kB / 0.6356 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02814/0.9361, allocations: 10.96 MB / 0.6463 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-05/0.9362, allocations: 32.19 kB / 0.6463 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/0.9396, allocations: 0.532 MB / 0.6468 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.486e-05/0.9397, allocations: 45 kB / 0.6469 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002827/0.9399, allocations: 92.94 kB / 0.647 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.282e-05/0.94, allocations: 66.39 kB / 0.647 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.741e-05/0.9401, allocations: 52.39 kB / 0.6471 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008326/0.9484, allocations: 4.466 MB / 0.6514 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/0.9508, allocations: 0.491 MB / 0.6519 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/0.9521, allocations: 89.5 kB / 0.652 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003816/0.956, allocations: 185.3 kB / 0.6522 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/0.9565, allocations: 280.5 kB / 0.6524 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/0.9568, allocations: 116.9 kB / 0.6526 GB, free: 131.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006941/0.9637, allocations: 2.441 MB / 0.6549 GB, free: 130.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.9637, allocations: 2.188 kB / 0.6549 GB, free: 130.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01323/0.9769, allocations: 1.551 MB / 0.6565 GB, free: 130.6 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.001083/0.978, allocations: 276.4 kB / 0.6567 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/0.9899, allocations: 4.562 MB / 0.6612 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.69e-05/0.9899, allocations: 7.812 kB / 0.6612 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.9917, allocations: 0.9633 MB / 0.6621 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/0.9972, allocations: 0.6697 MB / 0.6628 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.019, allocations: 12.9 MB / 0.6754 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006105/1.025, allocations: 3.892 MB / 0.6792 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005884/1.031, allocations: 2.217 MB / 0.6813 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.032, allocations: 359.2 kB / 0.6817 GB, free: 113.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/1.032, allocations: 3.938 kB / 0.6817 GB, free: 113.5 MB / 490.7 MB Notification: Performance of Templates: time 0.07104/1.104, allocations: 34.87 MB / 0.7157 GB, free: 81.48 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","/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: 8.2001238289522]