Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9467/0.9467, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.882e-05, allocations: 4.281 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01695/0.01698, allocations: 16.59 MB / 364.7 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.02997, allocations: 5.146 MB / 369.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.03253, allocations: 119.5 kB / 370 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005729/0.03826, allocations: 5.56 MB / 375.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.04369, allocations: 2.946 MB / 378.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.04591, allocations: 1.337 MB / 379.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009165/0.05507, allocations: 8.051 MB / 387.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007313/0.06239, allocations: 6.235 MB / 394.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.07276, allocations: 4.452 MB / 398.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00994/0.0827, allocations: 4.322 MB / 402.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003565/0.08627, allocations: 0.6289 MB / 403.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/0.09167, allocations: 1.319 MB / 404.8 MB, free: 220 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006267/0.09794, allocations: 3.779 MB / 408.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006847/0.1048, allocations: 2.407 MB / 411 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.1132, allocations: 7.888 MB / 418.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1132, allocations: 0 / 418.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1132, allocations: 4 kB / 418.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002086/0.1134, allocations: 0 / 418.9 MB, free: 2.086 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.009741/0.1232, allocations: 8.631 MB / 427.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1232, allocations: 16.02 kB / 427.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.1284, allocations: 2.598 MB / 430.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.1318, allocations: 3.172 MB / 433.3 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.132, allocations: 448 kB / 433.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000598/0.1326, allocations: 0.5938 MB / 434.4 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3189/0.4515, allocations: 10.51 MB / 444.9 MB, free: 57.84 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000271/0.4518, allocations: 74.86 kB / 444.9 MB, free: 57.84 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008649/0.4526, allocations: 281.9 kB / 445.2 MB, free: 57.84 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003929/0.4566, allocations: 3.152 MB / 448.4 MB, free: 57.82 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.4729, allocations: 4.978 MB / 453.3 MB, free: 57.66 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05899/0.5319, allocations: 73.01 MB / 0.514 GB, free: 8.164 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.5431, allocations: 3.781 MB / 0.5177 GB, free: 4.402 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.5448, allocations: 0.8634 MB / 0.5186 GB, free: 3.539 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.5564, allocations: 5.834 MB / 0.5243 GB, free: 13.99 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009714/0.5661, allocations: 3.235 MB / 0.5274 GB, free: 10.76 MB / 394.8 MB Notification: Performance of pre-optimization done (n=299): time 1.026e-05/0.5661, allocations: 3.281 kB / 0.5274 GB, free: 10.76 MB / 394.8 MB Notification: Performance of matching and sorting (n=333): time 0.07446/0.6406, allocations: 12.29 MB / 0.5394 GB, free: 14.91 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.6407, allocations: 166.7 kB / 0.5396 GB, free: 14.71 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007834/0.6485, allocations: 5.181 MB / 0.5446 GB, free: 10.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007035/0.6492, allocations: 73.7 kB / 0.5447 GB, free: 10.47 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004181/0.6534, allocations: 5.684 MB / 0.5503 GB, free: 5.043 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.6546, allocations: 1.345 MB / 0.5516 GB, free: 3.766 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/0.6563, allocations: 2.135 MB / 0.5537 GB, free: 1.84 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6565, allocations: 487 kB / 0.5541 GB, free: 1.363 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.658, allocations: 0.9504 MB / 0.555 GB, free: 412 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/0.6639, allocations: 9.735 MB / 0.5646 GB, free: 3.023 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008616/0.6725, allocations: 11.71 MB / 0.576 GB, free: 3.93 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.394e-05/0.6726, allocations: 64 kB / 0.576 GB, free: 3.867 MB / 442.8 MB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.01719/0.6898, allocations: 7.782 MB / 0.5836 GB, free: 12.04 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.69, allocations: 117.7 kB / 0.5838 GB, free: 11.92 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002699/0.6902, allocations: 216 kB / 0.584 GB, free: 11.71 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.6904, allocations: 276 kB / 0.5842 GB, free: 11.44 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/0.6954, allocations: 2.356 MB / 0.5865 GB, free: 9.078 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/0.6957, allocations: 414.4 kB / 0.5869 GB, free: 8.672 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006143/0.7018, allocations: 443.6 kB / 0.5873 GB, free: 8.238 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/0.7037, allocations: 0.5047 MB / 0.5878 GB, free: 7.734 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1289): * Single equations (assignments): 1285 * 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.003745/0.7074, allocations: 0.9912 MB / 0.5888 GB, free: 6.727 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/0.709, allocations: 0.609 MB / 0.5894 GB, free: 6.117 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.7118, allocations: 1.84 MB / 0.5912 GB, free: 4.227 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/0.7119, allocations: 32 kB / 0.5912 GB, free: 4.195 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.7119, allocations: 7.938 kB / 0.5912 GB, free: 4.188 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.7119, allocations: 19.94 kB / 0.5913 GB, free: 4.168 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1867/0.8986, allocations: 9.781 MB / 0.6008 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-05/0.8986, allocations: 40.23 kB / 0.6008 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.9001, allocations: 0.6105 MB / 0.6014 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.504e-05/0.9001, allocations: 46.22 kB / 0.6015 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/0.9003, allocations: 100.4 kB / 0.6016 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/0.9004, allocations: 67.8 kB / 0.6016 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.212e-05/0.9004, allocations: 52.55 kB / 0.6017 GB, free: 149.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/0.906, allocations: 4.055 MB / 0.6057 GB, free: 146.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/0.9078, allocations: 0.6944 MB / 0.6063 GB, free: 146.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/0.9082, allocations: 104.2 kB / 0.6064 GB, free: 146.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.9094, allocations: 111 kB / 0.6065 GB, free: 146.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.9098, allocations: 321.7 kB / 0.6068 GB, free: 146.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.9099, allocations: 114.3 kB / 0.607 GB, free: 146.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002744/0.9127, allocations: 2.041 MB / 0.6089 GB, free: 146.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9127, allocations: 0 / 0.6089 GB, free: 146.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006584/0.9192, allocations: 1.723 MB / 0.6106 GB, free: 146.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * 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.0006396/0.9199, allocations: 312.3 kB / 0.6109 GB, free: 146.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005955/0.9258, allocations: 4.247 MB / 0.6151 GB, free: 145.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/0.9259, allocations: 3.969 kB / 0.6151 GB, free: 145.6 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.9271, allocations: 0.899 MB / 0.616 GB, free: 145.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.9307, allocations: 0.6979 MB / 0.6166 GB, free: 145.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.9516, allocations: 13.93 MB / 0.6302 GB, free: 135.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/0.955, allocations: 2.134 MB / 0.6323 GB, free: 134 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003531/0.9585, allocations: 0.831 MB / 0.6331 GB, free: 133.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.9601, allocations: 0.9458 MB / 0.6341 GB, free: 132.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.733e-06/0.9601, allocations: 0 / 0.6341 GB, free: 132.5 MB / 458.8 MB Notification: Performance of Templates: time 0.07386/1.034, allocations: 44.27 MB / 0.6773 GB, free: 89.57 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.237857440020889]