Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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.000891/0.000891, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00403/0.00403, allocations: 159.5 kB / 24.7 MB, free: 9.441 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.8982/0.8982, allocations: 177 MB / 204.9 MB, free: 5.742 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.245/0.245, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.767e-05, allocations: 4.812 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.213/0.213, allocations: 14.02 MB / 457.5 MB, free: 36.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007643/0.2206, allocations: 4.836 MB / 462.3 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.2221, allocations: 122.5 kB / 462.4 MB, free: 32.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.2261, allocations: 5.288 MB / 467.7 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.2296, allocations: 2.644 MB / 470.3 MB, free: 29.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.2313, allocations: 1.301 MB / 471.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.2362, allocations: 7.745 MB / 479.4 MB, free: 26.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.24, allocations: 5.809 MB / 485.2 MB, free: 23.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004294/0.2443, allocations: 4.025 MB / 489.2 MB, free: 21.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.2491, allocations: 4.046 MB / 493.3 MB, free: 20.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009559/0.2501, allocations: 0.5857 MB / 493.9 MB, free: 20.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.2522, allocations: 1.256 MB / 495.1 MB, free: 20.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002675/0.2548, allocations: 3.445 MB / 498.6 MB, free: 19.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.2571, allocations: 2.213 MB / 0.489 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.2671, allocations: 11.26 MB / 0.5 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2671, allocations: 1.344 kB / 0.5 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2671, allocations: 0 / 0.5 GB, free: 10.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003025/0.2674, allocations: 0 / 0.5 GB, free: 10.98 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: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01154/0.279, allocations: 7.878 MB / 0.5077 GB, free: 3.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.279, allocations: 8.031 kB / 0.5077 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/0.284, allocations: 2.691 MB / 0.5104 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004981/0.289, allocations: 3.505 MB / 0.5138 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.2892, allocations: 438.7 kB / 0.5142 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006648/0.2899, allocations: 0.5508 MB / 0.5147 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/0.3153, allocations: 19.95 MB / 0.5342 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.3154, allocations: 75.33 kB / 0.5343 GB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004884/0.3159, allocations: 267.8 kB / 0.5345 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/0.3187, allocations: 3.153 MB / 0.5376 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.3417, allocations: 15.92 MB / 0.5532 GB, free: 4.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05562/0.3974, allocations: 60.02 MB / 0.6118 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.4086, allocations: 6.042 MB / 0.6177 GB, free: 360 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.411, allocations: 1.923 MB / 0.6196 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.4211, allocations: 7.703 MB / 0.6271 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007888/0.429, allocations: 4.595 MB / 0.6316 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 4.118e-06/0.429, allocations: 4 kB / 0.6316 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.2258/0.6548, allocations: 22.73 MB / 0.6538 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.6548, allocations: 155.8 kB / 0.6539 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.6593, allocations: 5.543 MB / 0.6593 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.6594, allocations: 75.94 kB / 0.6594 GB, free: 143 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/0.6621, allocations: 5.115 MB / 0.6644 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006995/0.6628, allocations: 1.17 MB / 0.6655 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001847/0.6646, allocations: 1.809 MB / 0.6673 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.6647, allocations: 302.3 kB / 0.6676 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.6676, allocations: 2.7 MB / 0.6702 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004191/0.6718, allocations: 8.265 MB / 0.6783 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007894/0.6797, allocations: 11.86 MB / 0.6899 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.837e-05/0.6798, allocations: 56.44 kB / 0.6899 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.0108/0.6906, allocations: 10.64 MB / 0.7003 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.6907, allocations: 120.6 kB / 0.7004 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.6908, allocations: 196.8 kB / 0.7006 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.6909, allocations: 258.2 kB / 0.7009 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/0.6942, allocations: 2.223 MB / 0.7031 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/0.6944, allocations: 392 kB / 0.7034 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/0.6981, allocations: 0.5472 MB / 0.704 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.6985, allocations: 0.5501 MB / 0.7045 GB, free: 111.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1187): * Single equations (assignments): 1183 * Array equations: 3 * Algorithm blocks: 1 * 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.003499/0.702, allocations: 3.152 MB / 0.7076 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/0.7024, allocations: 488.8 kB / 0.708 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.7051, allocations: 3.012 MB / 0.711 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.7051, allocations: 32.61 kB / 0.711 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.7052, allocations: 0 / 0.711 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.7052, allocations: 13.17 kB / 0.711 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.7152, allocations: 10.15 MB / 0.7209 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.7153, allocations: 28 kB / 0.721 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7163, allocations: 0.5943 MB / 0.7215 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-05/0.7163, allocations: 44 kB / 0.7216 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.7164, allocations: 86.95 kB / 0.7217 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.151e-05/0.7165, allocations: 62.94 kB / 0.7217 GB, free: 96.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.7165, allocations: 58.97 kB / 0.7218 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.7203, allocations: 5.405 MB / 0.7271 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008022/0.7211, allocations: 0.4969 MB / 0.7276 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.7214, allocations: 95.69 kB / 0.7276 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7225, allocations: 208.1 kB / 0.7278 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.7227, allocations: 289.8 kB / 0.7281 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.7228, allocations: 123.8 kB / 0.7282 GB, free: 89.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002698/0.7255, allocations: 3.177 MB / 0.7313 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7255, allocations: 0 / 0.7313 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005187/0.7307, allocations: 1.55 MB / 0.7329 GB, free: 85.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003695/0.731, allocations: 281.3 kB / 0.7331 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005455/0.7365, allocations: 5.969 MB / 0.7389 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.7365, allocations: 8 kB / 0.739 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.7379, allocations: 1.484 MB / 0.7404 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.7398, allocations: 0.641 MB / 0.741 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.754, allocations: 14.93 MB / 0.7556 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002953/0.757, allocations: 4.267 MB / 0.7598 GB, free: 59.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/0.7579, allocations: 432.4 kB / 0.7602 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.7579, allocations: 3.938 kB / 0.7602 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.2651/1.023, allocations: 84.67 MB / 0.8429 GB, free: 160.9 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.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: 10.36734320037067]