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.0008518/0.0008517, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.006842/0.006842, allocations: 169 kB / 16.26 MB, free: 6.652 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.495/1.495, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.3236/0.3236, allocations: 38.04 MB / 308.8 MB, free: 10.16 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.0005229/0.0005229, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3213/0.4416, allocations: 85.46 MB / 0.5078 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04653/0.4882, allocations: 16.67 MB / 0.5241 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0252/0.5135, allocations: 364.9 kB / 0.5245 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.5167, allocations: 0.6817 MB / 0.5251 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.5269, allocations: 2.575 MB / 0.5277 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.5316, allocations: 1.094 MB / 0.5287 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02003/0.5517, allocations: 10.25 MB / 0.5387 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01845/0.5702, allocations: 9.472 MB / 0.548 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006068/0.5763, allocations: 2.007 MB / 0.5499 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.5833, allocations: 3.621 MB / 0.5535 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.5855, allocations: 280 kB / 0.5537 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.5897, allocations: 1.026 MB / 0.5547 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005234/0.595, allocations: 3.108 MB / 0.5578 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007012/0.602, allocations: 3.526 MB / 0.5612 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.6179, allocations: 11.28 MB / 0.5722 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.618, allocations: 4 kB / 0.5722 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.618, allocations: 0 / 0.5722 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004802/0.6185, allocations: 0 / 0.5722 GB, free: 14.89 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.01717/0.6357, allocations: 6.611 MB / 0.5787 GB, free: 8.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.6357, allocations: 12.03 kB / 0.5787 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.6481, allocations: 2.779 MB / 0.5814 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009187/0.6573, allocations: 3.943 MB / 0.5853 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/0.6578, allocations: 460.1 kB / 0.5857 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/0.66, allocations: 0.5971 MB / 0.5863 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0471/0.7071, allocations: 21.27 MB / 0.6071 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/0.7074, allocations: 71.33 kB / 0.6071 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001454/0.7089, allocations: 287.7 kB / 0.6074 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005109/0.714, allocations: 3.541 MB / 0.6109 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04043/0.7544, allocations: 17.25 MB / 0.6277 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.63/1.385, allocations: 67.84 MB / 0.694 GB, free: 33.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/1.402, allocations: 6.693 MB / 0.7005 GB, free: 31.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/1.405, allocations: 2.299 MB / 0.7028 GB, free: 30.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/1.419, allocations: 9.781 MB / 0.7123 GB, free: 24.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.419, allocations: 68.5 kB / 0.7124 GB, free: 24.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.551e-06/1.419, allocations: 7.75 kB / 0.7124 GB, free: 24.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.06036/1.48, allocations: 22.84 MB / 0.7347 GB, free: 7.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/1.48, allocations: 162.7 kB / 0.7348 GB, free: 6.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006945/1.487, allocations: 6.021 MB / 0.7407 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004758/1.487, allocations: 80.8 kB / 0.7408 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003452/1.491, allocations: 5.194 MB / 0.7459 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/1.492, allocations: 1.248 MB / 0.7471 GB, free: 10.35 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.493, allocations: 0.8301 MB / 0.7479 GB, free: 9.516 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.493, allocations: 301.1 kB / 0.7482 GB, free: 9.219 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/1.499, allocations: 2.85 MB / 0.751 GB, free: 6.363 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008662/1.507, allocations: 8.673 MB / 0.7594 GB, free: 10.92 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/1.523, allocations: 12.52 MB / 0.7717 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002608/1.524, allocations: 63.94 kB / 0.7717 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02652/1.55, allocations: 11.27 MB / 0.7827 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.55, allocations: 92 kB / 0.7828 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002853/1.551, allocations: 204.9 kB / 0.783 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/1.551, allocations: 272 kB / 0.7833 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008193/1.559, allocations: 2.359 MB / 0.7856 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004346/1.56, allocations: 403.4 kB / 0.786 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/1.567, allocations: 479.7 kB / 0.7864 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.569, allocations: 0.5773 MB / 0.787 GB, free: 14.12 MB / 0.545 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.006713/1.576, allocations: 3.391 MB / 0.7903 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009606/1.577, allocations: 0.5476 MB / 0.7908 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/1.583, allocations: 3.448 MB / 0.7942 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/1.583, allocations: 38.73 kB / 0.7942 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.583, allocations: 6.562 kB / 0.7942 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/1.583, allocations: 15.94 kB / 0.7943 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/1.612, allocations: 13.81 MB / 0.8077 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/1.612, allocations: 36 kB / 0.8078 GB, free: 8.707 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/1.614, allocations: 0.6161 MB / 0.8084 GB, free: 8.133 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/1.614, allocations: 51.94 kB / 0.8084 GB, free: 8.082 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/1.614, allocations: 99.98 kB / 0.8085 GB, free: 7.984 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-05/1.614, allocations: 71.81 kB / 0.8086 GB, free: 7.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.879e-05/1.614, allocations: 49.12 kB / 0.8086 GB, free: 7.895 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008642/1.623, allocations: 6.299 MB / 0.8148 GB, free: 1.012 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.625, allocations: 0.8491 MB / 0.8156 GB, free: 140 kB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/1.626, allocations: 107.9 kB / 0.8157 GB, free: 32 kB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.628, allocations: 161.2 kB / 0.8159 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/1.629, allocations: 301.4 kB / 0.8162 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.629, allocations: 135.8 kB / 0.8163 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007073/1.636, allocations: 3.755 MB / 0.82 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.91e-07/1.636, allocations: 0 / 0.82 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00924/1.645, allocations: 1.568 MB / 0.8215 GB, free: 10.17 MB / 0.5763 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.0008372/1.646, allocations: 273.8 kB / 0.8218 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.659, allocations: 6.507 MB / 0.8281 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.182e-05/1.659, allocations: 4.938 kB / 0.8281 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/1.662, allocations: 1.571 MB / 0.8297 GB, free: 2.621 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03085/1.693, allocations: 0.771 MB / 0.8304 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2457/1.938, allocations: 19.57 MB / 0.8495 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007497/1.946, allocations: 5.141 MB / 0.8545 GB, free: 231.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007237/1.953, allocations: 2.759 MB / 0.8572 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/1.955, allocations: 423.9 kB / 0.8576 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.974e-06/1.955, allocations: 0 / 0.8576 GB, free: 231.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1066/2.062, allocations: 48.59 MB / 0.9051 GB, free: 217.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: