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.001539/0.001539, allocations: 84.8 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001787/0.001787, allocations: 158.2 kB / 23.95 MB, free: 4.164 MB / 14.72 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.505/1.505, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.2208/0.2208, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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 2.054e-06/2.054e-06, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.243e-05, allocations: 6.219 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.2389/0.2389, allocations: 14.03 MB / 456.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.2496, allocations: 4.833 MB / 461.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.2529, allocations: 114.5 kB / 461.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01076/0.2637, allocations: 5.295 MB / 466.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008306/0.272, allocations: 2.635 MB / 469.6 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.2754, allocations: 1.313 MB / 470.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.2864, allocations: 7.754 MB / 478.6 MB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009574/0.296, allocations: 5.814 MB / 484.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.3061, allocations: 4.027 MB / 488.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007679/0.3137, allocations: 4.045 MB / 492.5 MB, free: 4.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.316, allocations: 0.5898 MB / 493.1 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.3201, allocations: 1.252 MB / 494.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005084/0.3252, allocations: 3.448 MB / 497.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005858/0.3311, allocations: 2.204 MB / 0.4883 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02005/0.3511, allocations: 11.25 MB / 0.4993 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3511, allocations: 0 / 0.4993 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3511, allocations: 0 / 0.4993 GB, free: 1.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004831/0.3516, allocations: 0 / 0.4993 GB, free: 1.219 MB / 398.1 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.02022/0.3718, allocations: 7.876 MB / 0.507 GB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3719, allocations: 12.03 kB / 0.507 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.3846, allocations: 2.878 MB / 0.5098 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008312/0.393, allocations: 3.509 MB / 0.5132 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.3934, allocations: 427.9 kB / 0.5136 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/0.3953, allocations: 0.5547 MB / 0.5142 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05067/0.446, allocations: 19.93 MB / 0.5336 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/0.4463, allocations: 75.39 kB / 0.5337 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002093/0.4484, allocations: 270.3 kB / 0.534 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006034/0.4545, allocations: 3.153 MB / 0.537 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04254/0.497, allocations: 15.88 MB / 0.5526 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09091/0.5879, allocations: 59.95 MB / 0.6111 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/0.6084, allocations: 5.999 MB / 0.617 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.6122, allocations: 1.902 MB / 0.6188 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/0.6281, allocations: 7.661 MB / 0.6263 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01633/0.6444, allocations: 4.596 MB / 0.6308 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=260): time 7.103e-06/0.6444, allocations: 0 / 0.6308 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294): time 0.2664/0.9108, allocations: 22.59 MB / 0.6528 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.9108, allocations: 161.9 kB / 0.653 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/0.9181, allocations: 5.545 MB / 0.6584 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.9185, allocations: 72.67 kB / 0.6585 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002706/0.9212, allocations: 5.116 MB / 0.6635 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/0.9221, allocations: 1.166 MB / 0.6646 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/0.924, allocations: 1.813 MB / 0.6664 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.924, allocations: 304.9 kB / 0.6667 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00401/0.9281, allocations: 2.701 MB / 0.6693 GB, free: 144 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00615/0.9342, allocations: 8.265 MB / 0.6774 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.9452, allocations: 11.84 MB / 0.6889 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002428/0.9455, allocations: 55 kB / 0.689 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01953/0.965, allocations: 10.65 MB / 0.6994 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.9651, allocations: 117.8 kB / 0.6995 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/0.9653, allocations: 196 kB / 0.6997 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.9655, allocations: 265.8 kB / 0.7 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007478/0.9729, allocations: 2.246 MB / 0.7021 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002722/0.9732, allocations: 386.5 kB / 0.7025 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008105/0.9813, allocations: 0.6164 MB / 0.7031 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/0.9826, allocations: 0.5508 MB / 0.7037 GB, free: 113.8 MB / 0.5294 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.005048/0.9876, allocations: 3.149 MB / 0.7067 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.9887, allocations: 484.8 kB / 0.7072 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.9931, allocations: 2.958 MB / 0.7101 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/0.9931, allocations: 28 kB / 0.7101 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.9931, allocations: 4 kB / 0.7101 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.9931, allocations: 15.89 kB / 0.7101 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/1.008, allocations: 10.14 MB / 0.72 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.008, allocations: 32 kB / 0.7201 GB, free: 96.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/1.01, allocations: 0.5898 MB / 0.7206 GB, free: 95.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-05/1.01, allocations: 44 kB / 0.7207 GB, free: 95.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.01, allocations: 94.11 kB / 0.7208 GB, free: 95.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-05/1.01, allocations: 71.66 kB / 0.7208 GB, free: 95.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.897e-05/1.01, allocations: 47.81 kB / 0.7209 GB, free: 95.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/1.017, allocations: 5.399 MB / 0.7262 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.018, allocations: 0.5005 MB / 0.7266 GB, free: 89.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000583/1.019, allocations: 97 kB / 0.7267 GB, free: 89.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/1.021, allocations: 235.7 kB / 0.727 GB, free: 88.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.021, allocations: 293.7 kB / 0.7272 GB, free: 88.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.021, allocations: 119.9 kB / 0.7274 GB, free: 88.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004669/1.026, allocations: 3.174 MB / 0.7305 GB, free: 85.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 4 kB / 0.7305 GB, free: 85.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01059/1.037, allocations: 1.554 MB / 0.732 GB, free: 83.82 MB / 0.5294 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.001087/1.038, allocations: 278.1 kB / 0.7322 GB, free: 83.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.048, allocations: 5.958 MB / 0.7381 GB, free: 77.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.557e-05/1.048, allocations: 8 kB / 0.7381 GB, free: 77.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/1.051, allocations: 1.561 MB / 0.7396 GB, free: 76.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.055, allocations: 0.6506 MB / 0.7402 GB, free: 75.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.075, allocations: 14.23 MB / 0.7541 GB, free: 60.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004759/1.08, allocations: 4.264 MB / 0.7583 GB, free: 56.44 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005375/1.085, allocations: 2.524 MB / 0.7607 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.087, allocations: 364.4 kB / 0.7611 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/1.087, allocations: 4 kB / 0.7611 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.07427/1.161, allocations: 35.83 MB / 0.7961 GB, free: 18.54 MB / 0.5294 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: 7.925187304615974]