Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 197.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3364/0.3364, allocations: 37.99 MB / 307.3 MB, free: 10 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 70.42 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3677/0.515, allocations: 87.53 MB / 0.5064 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05014/0.5652, allocations: 16.73 MB / 0.5227 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02449/0.5897, allocations: 372.1 kB / 0.5231 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01325/0.6031, allocations: 5.237 MB / 0.5282 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.6144, allocations: 2.574 MB / 0.5307 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.6183, allocations: 1.088 MB / 0.5318 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.6353, allocations: 10.26 MB / 0.5418 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.6482, allocations: 6.534 MB / 0.5482 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009053/0.6574, allocations: 2.499 MB / 0.5506 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.6689, allocations: 4.233 MB / 0.5547 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004627/0.6736, allocations: 480 kB / 0.5552 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008815/0.6825, allocations: 1.229 MB / 0.5564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009584/0.6921, allocations: 3.405 MB / 0.5597 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0121/0.7043, allocations: 3.872 MB / 0.5635 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02572/0.73, allocations: 11.64 MB / 0.5749 GB, free: 9.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.7301, allocations: 3.938 kB / 0.5749 GB, free: 9.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7301, allocations: 0 / 0.5749 GB, free: 9.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006821/0.7308, allocations: 4 kB / 0.5749 GB, free: 9.711 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.04146/0.7723, allocations: 8.191 MB / 0.5829 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.16e-05/0.7724, allocations: 12.03 kB / 0.5829 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02064/0.7931, allocations: 2.724 MB / 0.5856 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.8043, allocations: 3.936 MB / 0.5894 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007645/0.8051, allocations: 464.1 kB / 0.5898 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/0.8082, allocations: 0.5893 MB / 0.5904 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05076/0.8589, allocations: 21.21 MB / 0.6111 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004855/0.8595, allocations: 71.39 kB / 0.6112 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/0.8622, allocations: 283.7 kB / 0.6115 GB, free: 2.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006128/0.8684, allocations: 3.545 MB / 0.6149 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5442/1.413, allocations: 17.2 MB / 0.6317 GB, free: 140 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09525/1.508, allocations: 67.86 MB / 0.698 GB, free: 95.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0209/1.529, allocations: 6.659 MB / 0.7045 GB, free: 93.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004945/1.534, allocations: 2.292 MB / 0.7067 GB, free: 92.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02221/1.556, allocations: 9.781 MB / 0.7163 GB, free: 86.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.92e-05/1.556, allocations: 67.47 kB / 0.7164 GB, free: 86.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 7.624e-06/1.556, allocations: 0 / 0.7164 GB, free: 86.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.06716/1.623, allocations: 22.77 MB / 0.7386 GB, free: 70.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.624, allocations: 158.7 kB / 0.7387 GB, free: 69.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.634, allocations: 6.041 MB / 0.7446 GB, free: 63.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007142/1.635, allocations: 69.7 kB / 0.7447 GB, free: 63.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.638, allocations: 5.191 MB / 0.7498 GB, free: 58.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.64, allocations: 1.245 MB / 0.751 GB, free: 57.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003902/1.644, allocations: 1.936 MB / 0.7529 GB, free: 55.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.644, allocations: 301.1 kB / 0.7532 GB, free: 55.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/1.648, allocations: 2.854 MB / 0.756 GB, free: 52.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006736/1.655, allocations: 8.67 MB / 0.7644 GB, free: 40.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.666, allocations: 12.52 MB / 0.7767 GB, free: 25.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/1.666, allocations: 60 kB / 0.7767 GB, free: 25.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.01969/1.686, allocations: 11.27 MB / 0.7877 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003001/1.687, allocations: 92 kB / 0.7878 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004717/1.687, allocations: 204 kB / 0.788 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/1.687, allocations: 272 kB / 0.7883 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007685/1.695, allocations: 2.359 MB / 0.7906 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003777/1.696, allocations: 406.5 kB / 0.791 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007586/1.703, allocations: 467.5 kB / 0.7914 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.705, allocations: 0.5781 MB / 0.792 GB, free: 9.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.007353/1.712, allocations: 3.401 MB / 0.7953 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.714, allocations: 0.5476 MB / 0.7958 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/1.723, allocations: 3.445 MB / 0.7992 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/1.723, allocations: 35.98 kB / 0.7992 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/1.723, allocations: 4 kB / 0.7992 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-05/1.723, allocations: 15.95 kB / 0.7992 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03062/1.753, allocations: 13.77 MB / 0.8127 GB, free: 3.641 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.549e-05/1.753, allocations: 39.94 kB / 0.8127 GB, free: 3.602 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/1.756, allocations: 0.6093 MB / 0.8133 GB, free: 2.992 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.001e-05/1.756, allocations: 48 kB / 0.8134 GB, free: 2.945 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004066/1.756, allocations: 107.9 kB / 0.8135 GB, free: 2.84 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.744e-05/1.757, allocations: 63.8 kB / 0.8135 GB, free: 2.777 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-05/1.757, allocations: 51.75 kB / 0.8136 GB, free: 2.727 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2787/2.035, allocations: 6.311 MB / 0.8197 GB, free: 145.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003364/2.039, allocations: 0.8409 MB / 0.8206 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/2.04, allocations: 108.9 kB / 0.8207 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004614/2.045, allocations: 141.9 kB / 0.8208 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008215/2.046, allocations: 306.4 kB / 0.8211 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003184/2.046, allocations: 129.4 kB / 0.8212 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01155/2.058, allocations: 3.749 MB / 0.8249 GB, free: 144.1 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.703e-06/2.058, allocations: 1.906 kB / 0.8249 GB, free: 144.1 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01826/2.076, allocations: 1.568 MB / 0.8264 GB, free: 143.9 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.00134/2.078, allocations: 281.7 kB / 0.8267 GB, free: 143.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01927/2.097, allocations: 6.503 MB / 0.833 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-05/2.097, allocations: 3.344 kB / 0.833 GB, free: 141.7 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004786/2.102, allocations: 1.568 MB / 0.8346 GB, free: 141.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/2.113, allocations: 0.7579 MB / 0.8353 GB, free: 140.9 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/2.159, allocations: 19.41 MB / 0.8543 GB, free: 129.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009184/2.168, allocations: 5.141 MB / 0.8593 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00821/2.176, allocations: 2.766 MB / 0.862 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/2.178, allocations: 415.9 kB / 0.8624 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of SimCode: time 1.873e-06/2.178, allocations: 0 / 0.8624 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of Templates: time 0.09085/2.269, allocations: 48.98 MB / 0.9102 GB, free: 92.62 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)