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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001394/0.001394, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.272/1.272, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001643/0.001643, allocations: 114.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1719/0.1719, allocations: 37.99 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.001e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09612, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4461, allocations: 94.37 MB / 0.4884 GB, free: 16.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4463, allocations: 74.98 kB / 0.4884 GB, free: 16.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6018/1.048, allocations: 144.5 MB / 0.6296 GB, free: 65.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.048, allocations: 0 / 0.6296 GB, free: 65.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003535/1.049, allocations: 144.2 kB / 0.6297 GB, free: 65.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02092/1.069, allocations: 6.551 MB / 0.6361 GB, free: 63.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.07, allocations: 9.75 kB / 0.6361 GB, free: 63.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.087, allocations: 3.617 MB / 0.6396 GB, free: 62.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/1.103, allocations: 7.63 MB / 0.6471 GB, free: 61.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/1.104, allocations: 0.589 MB / 0.6477 GB, free: 61.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003546/1.108, allocations: 0.7768 MB / 0.6484 GB, free: 61.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/1.155, allocations: 21.53 MB / 0.6695 GB, free: 57.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005191/1.155, allocations: 100.9 kB / 0.6695 GB, free: 57.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003222/1.158, allocations: 376.3 kB / 0.6699 GB, free: 57.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/1.162, allocations: 1.939 MB / 0.6718 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/1.199, allocations: 17.18 MB / 0.6886 GB, free: 57.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08954/1.289, allocations: 79.34 MB / 0.7661 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.305, allocations: 6.502 MB / 0.7724 GB, free: 18.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/1.308, allocations: 2.044 MB / 0.7744 GB, free: 16.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/1.325, allocations: 9.745 MB / 0.7839 GB, free: 8.512 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.325, allocations: 56.56 kB / 0.784 GB, free: 8.449 MB / 458.7 MB Notification: Performance of pre-optimization done (n=284): time 4.729e-06/1.325, allocations: 4 kB / 0.784 GB, free: 8.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=320): time 0.3512/1.676, allocations: 22.61 MB / 0.8061 GB, free: 88.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/1.676, allocations: 163.5 kB / 0.8062 GB, free: 87.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.687, allocations: 5.257 MB / 0.8113 GB, free: 87.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005892/1.687, allocations: 75.33 kB / 0.8114 GB, free: 87.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003134/1.69, allocations: 5.177 MB / 0.8165 GB, free: 85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.692, allocations: 1.217 MB / 0.8177 GB, free: 84.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/1.692, allocations: 195.8 kB / 0.8178 GB, free: 84.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004768/1.693, allocations: 0.7073 MB / 0.8185 GB, free: 83.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/1.697, allocations: 2.63 MB / 0.8211 GB, free: 83.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/1.702, allocations: 8.344 MB / 0.8293 GB, free: 76.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/1.709, allocations: 4.639 MB / 0.8338 GB, free: 76.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002455/1.709, allocations: 58.03 kB / 0.8338 GB, free: 76.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02351/1.733, allocations: 10.72 MB / 0.8443 GB, free: 75.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/1.733, allocations: 93.22 kB / 0.8444 GB, free: 75.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003577/1.734, allocations: 203.6 kB / 0.8446 GB, free: 75.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/1.734, allocations: 296.1 kB / 0.8449 GB, free: 75.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008014/1.742, allocations: 2.384 MB / 0.8472 GB, free: 75.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/1.742, allocations: 405.3 kB / 0.8476 GB, free: 75.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008065/1.751, allocations: 0.6194 MB / 0.8482 GB, free: 75.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.752, allocations: 0.569 MB / 0.8488 GB, free: 75.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * Number of states: 0 () * Number of discrete variables: 69 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1236): * Single equations (assignments): 1233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002717/1.755, allocations: 0.8572 MB / 0.8496 GB, free: 74.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.756, allocations: 0.5353 MB / 0.8501 GB, free: 74.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006097/1.763, allocations: 3.183 MB / 0.8532 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/1.763, allocations: 32.66 kB / 0.8533 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.763, allocations: 6.766 kB / 0.8533 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.763, allocations: 16.78 kB / 0.8533 GB, free: 74.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.788, allocations: 13.58 MB / 0.8665 GB, free: 70.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.788, allocations: 30.66 kB / 0.8666 GB, free: 70.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.79, allocations: 0.5921 MB / 0.8671 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.101e-05/1.79, allocations: 50.66 kB / 0.8672 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/1.79, allocations: 105 kB / 0.8673 GB, free: 70 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.628e-05/1.79, allocations: 72.23 kB / 0.8674 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.392e-05/1.79, allocations: 48.91 kB / 0.8674 GB, free: 69.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007547/1.798, allocations: 11.96 MB / 0.8791 GB, free: 59.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.8, allocations: 0.8407 MB / 0.8799 GB, free: 58.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006935/1.801, allocations: 95.19 kB / 0.88 GB, free: 58.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.803, allocations: 207 kB / 0.8802 GB, free: 58.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.803, allocations: 286.7 kB / 0.8805 GB, free: 58.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.803, allocations: 134.3 kB / 0.8806 GB, free: 58.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005149/1.809, allocations: 3.635 MB / 0.8841 GB, free: 57.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.809, allocations: 0 / 0.8841 GB, free: 57.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008306/1.817, allocations: 1.545 MB / 0.8857 GB, free: 57.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 298 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005982/1.818, allocations: 261 kB / 0.8859 GB, free: 56.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008948/1.827, allocations: 6.145 MB / 0.8919 GB, free: 54.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/1.827, allocations: 4.406 kB / 0.8919 GB, free: 54.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.829, allocations: 1.471 MB / 0.8933 GB, free: 54.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.832, allocations: 0.6971 MB / 0.894 GB, free: 53.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.856, allocations: 12.82 MB / 0.9065 GB, free: 43.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005648/1.862, allocations: 5.253 MB / 0.9117 GB, free: 39.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006547/1.868, allocations: 2.752 MB / 0.9144 GB, free: 38.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.87, allocations: 405.7 kB / 0.9147 GB, free: 37.69 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/1.87, allocations: 0.6562 kB / 0.9148 GB, free: 37.69 MB / 458.7 MB Notification: Performance of Templates: time 0.2987/2.168, allocations: 46.37 MB / 0.96 GB, free: 75.71 MB / 458.7 MB 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)