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.004756/0.004756, allocations: 101 kB / 15.73 MB, free: 6.469 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.001218/0.001218, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3259/0.3259, allocations: 38 MB / 307.9 MB, free: 10.2 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.001485/0.001485, allocations: 75.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3726, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.02063/0.3932, allocations: 17.62 MB / 0.4952 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.4099, allocations: 5.212 MB / 0.5003 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006677/0.4166, allocations: 103.4 kB / 0.5004 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01157/0.4283, allocations: 5.237 MB / 0.5055 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.4392, allocations: 2.734 MB / 0.5082 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.4433, allocations: 1.188 MB / 0.5093 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.4578, allocations: 7.022 MB / 0.5162 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.4694, allocations: 6.546 MB / 0.5226 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008377/0.4779, allocations: 2.784 MB / 0.5253 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008695/0.4866, allocations: 3.988 MB / 0.5292 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004077/0.4907, allocations: 0.625 MB / 0.5298 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005801/0.4966, allocations: 1.323 MB / 0.5311 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006223/0.5028, allocations: 3.53 MB / 0.5346 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009597/0.5125, allocations: 4.008 MB / 0.5385 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02045/0.5329, allocations: 12.22 MB / 0.5504 GB, free: 9.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.533, allocations: 4 kB / 0.5504 GB, free: 9.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.533, allocations: 0 / 0.5504 GB, free: 9.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005916/0.5336, allocations: 0 / 0.5504 GB, free: 9.121 MB / 430.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.02611/0.5597, allocations: 8.194 MB / 0.5584 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5598, allocations: 19.81 kB / 0.5584 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.5723, allocations: 2.728 MB / 0.5611 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.5825, allocations: 4.002 MB / 0.565 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.583, allocations: 464 kB / 0.5655 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.5854, allocations: 0.5933 MB / 0.566 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0483/0.6338, allocations: 21.21 MB / 0.5867 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.6341, allocations: 91.22 kB / 0.5868 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/0.6352, allocations: 287.7 kB / 0.5871 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00576/0.641, allocations: 3.537 MB / 0.5906 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04349/0.6845, allocations: 17.19 MB / 0.6073 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6504/1.335, allocations: 67.51 MB / 0.6733 GB, free: 78.08 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/1.354, allocations: 6.666 MB / 0.6798 GB, free: 76.11 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004475/1.359, allocations: 2.333 MB / 0.6821 GB, free: 75.28 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/1.378, allocations: 9.774 MB / 0.6916 GB, free: 70.37 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.378, allocations: 67.16 kB / 0.6917 GB, free: 70.31 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=296): time 6.021e-06/1.378, allocations: 0 / 0.6917 GB, free: 70.31 MB / 0.4982 GB Notification: Performance of matching and sorting (n=330): time 0.05865/1.437, allocations: 22.77 MB / 0.7139 GB, free: 58.82 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/1.437, allocations: 162.7 kB / 0.7141 GB, free: 58.66 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00849/1.445, allocations: 6.029 MB / 0.7199 GB, free: 55.34 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006534/1.446, allocations: 77.7 kB / 0.72 GB, free: 55.26 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003059/1.449, allocations: 5.184 MB / 0.7251 GB, free: 50.08 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.451, allocations: 1.258 MB / 0.7263 GB, free: 48.83 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00238/1.453, allocations: 1.925 MB / 0.7282 GB, free: 46.89 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/1.453, allocations: 305.1 kB / 0.7285 GB, free: 46.59 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.457, allocations: 2.857 MB / 0.7313 GB, free: 43.73 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00682/1.464, allocations: 8.673 MB / 0.7397 GB, free: 32.27 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/1.476, allocations: 12.52 MB / 0.752 GB, free: 16.85 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/1.476, allocations: 56 kB / 0.752 GB, free: 16.79 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02063/1.497, allocations: 11.27 MB / 0.763 GB, free: 5.484 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.497, allocations: 95.94 kB / 0.7631 GB, free: 5.391 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/1.497, allocations: 208 kB / 0.7633 GB, free: 5.188 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/1.497, allocations: 276.4 kB / 0.7636 GB, free: 4.918 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007928/1.505, allocations: 2.359 MB / 0.7659 GB, free: 2.555 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/1.505, allocations: 402.5 kB / 0.7663 GB, free: 2.16 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008071/1.514, allocations: 471.5 kB / 0.7667 GB, free: 1.699 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.515, allocations: 0.5742 MB / 0.7673 GB, free: 1.125 MB / 0.4982 GB 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.007377/1.522, allocations: 3.397 MB / 0.7706 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.524, allocations: 0.546 MB / 0.7711 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008428/1.532, allocations: 3.454 MB / 0.7745 GB, free: 9.652 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/1.532, allocations: 36 kB / 0.7745 GB, free: 9.617 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/1.532, allocations: 0 / 0.7745 GB, free: 9.617 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.262e-05/1.532, allocations: 15.94 kB / 0.7745 GB, free: 9.602 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.562, allocations: 13.75 MB / 0.788 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/1.562, allocations: 32 kB / 0.788 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.565, allocations: 0.6128 MB / 0.7886 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/1.565, allocations: 48 kB / 0.7886 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005764/1.566, allocations: 104 kB / 0.7887 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-05/1.566, allocations: 67.72 kB / 0.7888 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-05/1.566, allocations: 55.75 kB / 0.7889 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.578, allocations: 6.303 MB / 0.795 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003376/1.582, allocations: 0.8452 MB / 0.7958 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/1.584, allocations: 99.97 kB / 0.7959 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00366/1.587, allocations: 143.9 kB / 0.7961 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.588, allocations: 300.1 kB / 0.7964 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002969/1.588, allocations: 134.2 kB / 0.7965 GB, free: 2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007918/1.596, allocations: 3.759 MB / 0.8002 GB, free: 14.24 MB / 0.5451 GB Notification: Performance of sort global known variables: time 5.61e-07/1.596, allocations: 0 / 0.8002 GB, free: 14.24 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01023/1.606, allocations: 1.564 MB / 0.8017 GB, free: 12.68 MB / 0.5451 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.001194/1.608, allocations: 283.6 kB / 0.802 GB, free: 12.41 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.62, allocations: 6.598 MB / 0.8084 GB, free: 5.859 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-05/1.621, allocations: 5.812 kB / 0.8084 GB, free: 5.855 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/1.624, allocations: 1.577 MB / 0.8099 GB, free: 4.285 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007308/1.631, allocations: 0.7706 MB / 0.8107 GB, free: 3.52 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/1.67, allocations: 15.62 MB / 0.826 GB, free: 3.418 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/1.682, allocations: 5.147 MB / 0.831 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008547/1.691, allocations: 2.758 MB / 0.8337 GB, free: 11.46 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.693, allocations: 419.4 kB / 0.8341 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of SimCode: time 1.022e-06/1.693, allocations: 0 / 0.8341 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of Templates: time 0.3947/2.088, allocations: 44.96 MB / 0.878 GB, free: 191.7 MB / 0.5919 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)