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.007199/0.007199, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001667/0.001667, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3623/0.3623, allocations: 38 MB / 307.9 MB, free: 10.13 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.002445/0.002445, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.384, allocations: 56.47 MB / 489.5 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01678/0.4008, allocations: 17.63 MB / 0.4952 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.4143, allocations: 5.198 MB / 0.5003 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005525/0.4199, allocations: 104.9 kB / 0.5004 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4305, allocations: 5.24 MB / 0.5055 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.4423, allocations: 2.826 MB / 0.5083 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.4472, allocations: 1.185 MB / 0.5094 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.4625, allocations: 7.027 MB / 0.5163 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.4732, allocations: 6.54 MB / 0.5227 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00761/0.4808, allocations: 2.784 MB / 0.5254 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006655/0.4875, allocations: 3.996 MB / 0.5293 GB, free: 15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.4892, allocations: 0.6289 MB / 0.5299 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.4926, allocations: 1.319 MB / 0.5312 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.4962, allocations: 3.522 MB / 0.5346 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00546/0.5017, allocations: 4.016 MB / 0.5386 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.5178, allocations: 12.22 MB / 0.5505 GB, free: 9.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5179, allocations: 7.984 kB / 0.5505 GB, free: 9.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5179, allocations: 0 / 0.5505 GB, free: 9.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005551/0.5184, allocations: 0 / 0.5505 GB, free: 9.203 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.02265/0.5411, allocations: 8.198 MB / 0.5585 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5411, allocations: 15.83 kB / 0.5585 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.5529, allocations: 2.724 MB / 0.5612 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.563, allocations: 3.994 MB / 0.5651 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/0.5636, allocations: 468 kB / 0.5655 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/0.5665, allocations: 0.5894 MB / 0.5661 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04908/0.6156, allocations: 21.22 MB / 0.5868 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003502/0.616, allocations: 75.23 kB / 0.5869 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/0.6187, allocations: 287.7 kB / 0.5872 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006074/0.6248, allocations: 3.541 MB / 0.5906 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04202/0.6669, allocations: 17.2 MB / 0.6074 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6042/1.271, allocations: 67.5 MB / 0.6734 GB, free: 78.39 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.29, allocations: 6.677 MB / 0.6799 GB, free: 76.41 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004459/1.295, allocations: 2.327 MB / 0.6821 GB, free: 75.58 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/1.312, allocations: 9.782 MB / 0.6917 GB, free: 70.68 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.312, allocations: 66.31 kB / 0.6918 GB, free: 70.61 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=296): time 5.32e-06/1.312, allocations: 1.312 kB / 0.6918 GB, free: 70.61 MB / 0.4982 GB Notification: Performance of matching and sorting (n=330): time 0.06371/1.376, allocations: 22.76 MB / 0.714 GB, free: 59.23 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.376, allocations: 163.7 kB / 0.7141 GB, free: 59.07 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008059/1.384, allocations: 6.032 MB / 0.72 GB, free: 55.58 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006029/1.385, allocations: 76.89 kB / 0.7201 GB, free: 55.5 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002415/1.387, allocations: 5.184 MB / 0.7252 GB, free: 50.32 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/1.389, allocations: 1.253 MB / 0.7264 GB, free: 49.07 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002275/1.391, allocations: 1.929 MB / 0.7283 GB, free: 47.13 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/1.391, allocations: 309.1 kB / 0.7286 GB, free: 46.83 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/1.395, allocations: 2.846 MB / 0.7314 GB, free: 43.98 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006986/1.402, allocations: 8.677 MB / 0.7398 GB, free: 32.51 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/1.416, allocations: 12.52 MB / 0.7521 GB, free: 17.09 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000315/1.416, allocations: 56 kB / 0.7521 GB, free: 17.03 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02249/1.439, allocations: 11.27 MB / 0.7631 GB, free: 5.719 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/1.439, allocations: 93 kB / 0.7632 GB, free: 5.629 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003597/1.439, allocations: 212.1 kB / 0.7634 GB, free: 5.422 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/1.44, allocations: 276 kB / 0.7637 GB, free: 5.152 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007567/1.447, allocations: 2.355 MB / 0.766 GB, free: 2.793 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003188/1.448, allocations: 406.3 kB / 0.7664 GB, free: 2.398 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.454, allocations: 475.5 kB / 0.7668 GB, free: 1.934 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/1.456, allocations: 0.5703 MB / 0.7674 GB, free: 1.363 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.007745/1.464, allocations: 3.397 MB / 0.7707 GB, free: 13.95 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.466, allocations: 0.5398 MB / 0.7712 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007266/1.473, allocations: 3.45 MB / 0.7746 GB, free: 9.898 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/1.473, allocations: 39.83 kB / 0.7746 GB, free: 9.863 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.473, allocations: 0 / 0.7746 GB, free: 9.863 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/1.473, allocations: 19.94 kB / 0.7746 GB, free: 9.844 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/1.506, allocations: 13.75 MB / 0.7881 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/1.507, allocations: 35.98 kB / 0.7881 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.509, allocations: 0.6124 MB / 0.7887 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-05/1.509, allocations: 44 kB / 0.7887 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/1.51, allocations: 106.2 kB / 0.7888 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.459e-05/1.51, allocations: 63.78 kB / 0.7889 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-05/1.51, allocations: 55.75 kB / 0.7889 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.521, allocations: 6.309 MB / 0.7951 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.523, allocations: 0.8413 MB / 0.7959 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.525, allocations: 107.9 kB / 0.796 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003125/1.528, allocations: 139.9 kB / 0.7962 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004717/1.529, allocations: 308.1 kB / 0.7965 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/1.529, allocations: 132 kB / 0.7966 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007853/1.537, allocations: 3.752 MB / 0.8003 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/1.537, allocations: 0 / 0.8003 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009523/1.546, allocations: 1.564 MB / 0.8018 GB, free: 12.93 MB / 0.545 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.001065/1.547, allocations: 288.9 kB / 0.8021 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01401/1.561, allocations: 6.592 MB / 0.8085 GB, free: 6.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.434e-05/1.561, allocations: 8.188 kB / 0.8085 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.565, allocations: 1.569 MB / 0.81 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008834/1.574, allocations: 0.7886 MB / 0.8108 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03571/1.61, allocations: 15.62 MB / 0.8261 GB, free: 3.648 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/1.62, allocations: 5.143 MB / 0.8311 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008692/1.629, allocations: 2.754 MB / 0.8338 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/1.631, allocations: 419.4 kB / 0.8342 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of SimCode: time 1.392e-06/1.631, allocations: 0 / 0.8342 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of Templates: time 0.3441/1.975, allocations: 45.34 MB / 0.8784 GB, free: 191.8 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)