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.001108/0.001108, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001473/0.001473, allocations: 166.1 kB / 24.82 MB, free: 9.258 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.9422/0.9422, allocations: 177 MB / 205.1 MB, free: 5.488 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.2849/0.2849, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.663e-06/1.663e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.951e-05, allocations: 6.25 kB / 379.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01682/0.01684, allocations: 15.11 MB / 394.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02711, allocations: 4.876 MB / 399.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.029, allocations: 115.5 kB / 399.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007173/0.03617, allocations: 5.463 MB / 404.8 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.04068, allocations: 2.647 MB / 407.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.04256, allocations: 1.318 MB / 408.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006876/0.04944, allocations: 7.713 MB / 416.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/0.05514, allocations: 5.942 MB / 422.4 MB, free: 6.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.06071, allocations: 4.132 MB / 426.6 MB, free: 2.289 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004459/0.06517, allocations: 3.979 MB / 430.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.06604, allocations: 0.5703 MB / 431.1 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.0677, allocations: 1.229 MB / 432.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.06973, allocations: 3.448 MB / 435.8 MB, free: 9.043 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.07143, allocations: 2.185 MB / 438 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1873/0.2587, allocations: 7.145 MB / 445.1 MB, free: 67.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2587, allocations: 0.5 kB / 445.1 MB, free: 67.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2587, allocations: 1.562 kB / 445.1 MB, free: 67.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005651/0.2593, allocations: 0 / 445.1 MB, free: 67.89 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.008035/0.2673, allocations: 7.904 MB / 453 MB, free: 64.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2674, allocations: 8.656 kB / 453 MB, free: 64.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/0.2721, allocations: 2.407 MB / 455.4 MB, free: 64.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.2749, allocations: 2.913 MB / 458.4 MB, free: 63.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.2751, allocations: 424.1 kB / 458.8 MB, free: 63.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/0.2757, allocations: 0.5579 MB / 459.3 MB, free: 63.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.2865, allocations: 9.938 MB / 469.3 MB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.2866, allocations: 71.58 kB / 469.3 MB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.287, allocations: 267.3 kB / 469.6 MB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002067/0.2891, allocations: 2.789 MB / 472.4 MB, free: 59.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.2994, allocations: 4.635 MB / 477 MB, free: 58.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04201/0.3414, allocations: 69.8 MB / 0.534 GB, free: 18.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007262/0.3487, allocations: 3.642 MB / 0.5376 GB, free: 17.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.3497, allocations: 0.7871 MB / 0.5383 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006713/0.3564, allocations: 5.424 MB / 0.5436 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3564, allocations: 59.72 kB / 0.5437 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 4.208e-06/0.3564, allocations: 0 / 0.5437 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.02282/0.3792, allocations: 11.68 MB / 0.5551 GB, free: 6.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3793, allocations: 158.5 kB / 0.5552 GB, free: 5.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.3833, allocations: 4.929 MB / 0.5601 GB, free: 2.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.3834, allocations: 65.7 kB / 0.5601 GB, free: 2.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/0.386, allocations: 5.307 MB / 0.5653 GB, free: 12.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/0.3867, allocations: 1.194 MB / 0.5665 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.3883, allocations: 2.004 MB / 0.5684 GB, free: 9.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3885, allocations: 482.8 kB / 0.5689 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.3898, allocations: 0.8381 MB / 0.5697 GB, free: 8.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/0.3955, allocations: 9.254 MB / 0.5787 GB, free: 11.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008888/0.4044, allocations: 11.09 MB / 0.5896 GB, free: 13.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/0.4046, allocations: 60 kB / 0.5896 GB, free: 13.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.008946/0.4135, allocations: 7.235 MB / 0.5967 GB, free: 6.059 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.4136, allocations: 92 kB / 0.5968 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/0.4138, allocations: 203.4 kB / 0.597 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.414, allocations: 268 kB / 0.5972 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/0.4177, allocations: 2.191 MB / 0.5994 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002747/0.418, allocations: 396 kB / 0.5997 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.4215, allocations: 423.5 kB / 0.6002 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004564/0.422, allocations: 488 kB / 0.6006 GB, free: 2.039 MB / 474.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.00185/0.4238, allocations: 0.9461 MB / 0.6015 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/0.4244, allocations: 0.566 MB / 0.6021 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.4262, allocations: 1.564 MB / 0.6036 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.4263, allocations: 32 kB / 0.6037 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4263, allocations: 0 / 0.6037 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.4263, allocations: 11.95 kB / 0.6037 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.4371, allocations: 8.962 MB / 0.6124 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.4371, allocations: 35.5 kB / 0.6124 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.4382, allocations: 0.5188 MB / 0.613 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-05/0.4382, allocations: 44 kB / 0.613 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4383, allocations: 95.92 kB / 0.6131 GB, free: 4.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-05/0.4384, allocations: 63.78 kB / 0.6131 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.971e-05/0.4384, allocations: 51.75 kB / 0.6132 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.4416, allocations: 3.971 MB / 0.6171 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1889/0.6305, allocations: 494.3 kB / 0.6175 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009813/0.6315, allocations: 94.8 kB / 0.6176 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6325, allocations: 100.3 kB / 0.6177 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.6328, allocations: 282.1 kB / 0.618 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6329, allocations: 102.6 kB / 0.6181 GB, free: 147.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002032/0.6349, allocations: 1.924 MB / 0.62 GB, free: 146.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6349, allocations: 2.719 kB / 0.62 GB, free: 146.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004558/0.6395, allocations: 1.546 MB / 0.6215 GB, free: 146.9 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.0003616/0.6398, allocations: 276 kB / 0.6218 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.6438, allocations: 3.861 MB / 0.6255 GB, free: 146.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.6438, allocations: 6.594 kB / 0.6255 GB, free: 146.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.6444, allocations: 0.7727 MB / 0.6263 GB, free: 146.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.6464, allocations: 0.6818 MB / 0.627 GB, free: 146.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.6591, allocations: 12.69 MB / 0.6393 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.6606, allocations: 1.948 MB / 0.6412 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00162/0.6622, allocations: 0.768 MB / 0.642 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.6634, allocations: 0.8812 MB / 0.6429 GB, free: 139.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6634, allocations: 9.094 kB / 0.6429 GB, free: 139.5 MB / 490.7 MB Notification: Performance of Templates: time 0.05981/0.7232, allocations: 39.37 MB / 0.6813 GB, free: 121.9 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: 4.872784804087132]