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.008125/0.008125, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.372/1.372, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001585/0.001585, allocations: 114.6 kB / 226.2 MB, free: 8.008 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.3293/0.3293, allocations: 38.05 MB / 303.7 MB, free: 25.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004385, allocations: 8 kB / 362.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 48.69 MB / 411.6 MB, free: 37.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4883, allocations: 94.48 MB / 0.4942 GB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4886, allocations: 79.97 kB / 0.4943 GB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5618/1.05, allocations: 144.4 MB / 0.6352 GB, free: 68.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.05, allocations: 0 / 0.6352 GB, free: 68.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00036/1.051, allocations: 141.9 kB / 0.6354 GB, free: 68.73 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02717/1.078, allocations: 6.881 MB / 0.6421 GB, free: 63.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.078, allocations: 12.02 kB / 0.6421 GB, free: 63.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/1.097, allocations: 3.621 MB / 0.6457 GB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/1.117, allocations: 7.659 MB / 0.6531 GB, free: 52.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/1.118, allocations: 0.5936 MB / 0.6537 GB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/1.122, allocations: 0.777 MB / 0.6545 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05467/1.177, allocations: 21.79 MB / 0.6757 GB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/1.177, allocations: 99 kB / 0.6758 GB, free: 27.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/1.18, allocations: 383.8 kB / 0.6762 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/1.183, allocations: 1.941 MB / 0.6781 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03992/1.223, allocations: 17.61 MB / 0.6953 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/1.588, allocations: 79.34 MB / 0.7728 GB, free: 36.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/1.605, allocations: 6.563 MB / 0.7792 GB, free: 35.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/1.623, allocations: 9.745 MB / 0.7887 GB, free: 33.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.623, allocations: 66.38 kB / 0.7888 GB, free: 33.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 6.803e-06/1.623, allocations: 0.875 kB / 0.7888 GB, free: 33.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=320): time 0.08016/1.703, allocations: 24.93 MB / 0.8131 GB, free: 28.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/1.703, allocations: 161.1 kB / 0.8133 GB, free: 28.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.715, allocations: 5.403 MB / 0.8185 GB, free: 27.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000935/1.716, allocations: 75.84 kB / 0.8186 GB, free: 27.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004523/1.72, allocations: 5.166 MB / 0.8237 GB, free: 23.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.722, allocations: 1.216 MB / 0.8249 GB, free: 22.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008259/1.723, allocations: 196.6 kB / 0.825 GB, free: 22.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005371/1.723, allocations: 0.7075 MB / 0.8257 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/1.728, allocations: 2.865 MB / 0.8285 GB, free: 20.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008083/1.737, allocations: 8.586 MB / 0.8369 GB, free: 12.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.745, allocations: 4.813 MB / 0.8416 GB, free: 10.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/1.745, allocations: 58.66 kB / 0.8417 GB, free: 10.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02765/1.773, allocations: 11.2 MB / 0.8526 GB, free: 6.695 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003716/1.773, allocations: 95.48 kB / 0.8527 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00053/1.774, allocations: 201.5 kB / 0.8529 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/1.774, allocations: 300.2 kB / 0.8532 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/1.783, allocations: 2.384 MB / 0.8555 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005188/1.783, allocations: 404 kB / 0.8559 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.794, allocations: 0.6212 MB / 0.8565 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/1.796, allocations: 0.5697 MB / 0.8571 GB, free: 5.293 MB / 442.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 () * Number of clocked 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.01098/1.807, allocations: 3.365 MB / 0.8603 GB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/1.809, allocations: 0.5438 MB / 0.8609 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.819, allocations: 3.404 MB / 0.8642 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/1.82, allocations: 32 kB / 0.8642 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.63e-05/1.82, allocations: 6.938 kB / 0.8642 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/1.82, allocations: 15.33 kB / 0.8642 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/1.857, allocations: 13.7 MB / 0.8776 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/1.857, allocations: 32 kB / 0.8777 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.859, allocations: 0.5927 MB / 0.8782 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-05/1.859, allocations: 48 kB / 0.8783 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004138/1.86, allocations: 101.3 kB / 0.8784 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.609e-05/1.86, allocations: 73.42 kB / 0.8784 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-05/1.86, allocations: 51.75 kB / 0.8785 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.874, allocations: 12.14 MB / 0.8903 GB, free: 4.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003818/1.877, allocations: 0.8389 MB / 0.8912 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001755/1.879, allocations: 94.89 kB / 0.8913 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/1.883, allocations: 203.7 kB / 0.8915 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/1.884, allocations: 285.8 kB / 0.8917 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002894/1.884, allocations: 126.8 kB / 0.8918 GB, free: 3.566 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009839/1.894, allocations: 3.782 MB / 0.8955 GB, free: 484 kB / 474.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.894, allocations: 0 / 0.8955 GB, free: 484 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01777/1.912, allocations: 2.06 MB / 0.8976 GB, free: 0 / 474.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 () * Number of clocked 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.2578/2.169, allocations: 277.5 kB / 0.8978 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01437/2.184, allocations: 6.452 MB / 0.9041 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.829e-05/2.184, allocations: 5.031 kB / 0.9041 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/2.187, allocations: 1.527 MB / 0.9056 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/2.191, allocations: 0.7072 MB / 0.9063 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.225, allocations: 18.51 MB / 0.9244 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/2.236, allocations: 5.25 MB / 0.9295 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009554/2.246, allocations: 2.755 MB / 0.9322 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.248, allocations: 398.8 kB / 0.9326 GB, free: 104.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.243e-06/2.248, allocations: 0 / 0.9326 GB, free: 104.9 MB / 474.7 MB Notification: Performance of Templates: time 0.09533/2.343, allocations: 46.37 MB / 0.9779 GB, free: 98.29 MB / 474.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)