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.0007205/0.0007205, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007992/0.0007992, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2719/0.2719, allocations: 38.03 MB / 308.4 MB, free: 10.33 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.0005414/0.0005415, allocations: 19.98 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2773/0.3901, allocations: 79.43 MB / 0.5014 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04258/0.4327, allocations: 15.99 MB / 0.517 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01789/0.4507, allocations: 368.7 kB / 0.5173 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01377/0.4645, allocations: 4.17 MB / 0.5214 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04108/0.5056, allocations: 12.12 MB / 0.5332 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006695/0.5123, allocations: 1.072 MB / 0.5343 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.5245, allocations: 8.172 MB / 0.5423 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/0.5378, allocations: 8.525 MB / 0.5506 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005878/0.5437, allocations: 2.172 MB / 0.5527 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/0.55, allocations: 3.587 MB / 0.5562 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.5519, allocations: 279.9 kB / 0.5565 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.5555, allocations: 0.8856 MB / 0.5573 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00524/0.5607, allocations: 3.047 MB / 0.5603 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003365/0.5641, allocations: 1.419 MB / 0.5617 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.5773, allocations: 9.352 MB / 0.5708 GB, free: 72 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5773, allocations: 0 / 0.5708 GB, free: 72 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5773, allocations: 0 / 0.5708 GB, free: 72 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005306/0.5779, allocations: 0 / 0.5708 GB, free: 72 kB / 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.01449/0.5924, allocations: 6.701 MB / 0.5774 GB, free: 9.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5924, allocations: 12.03 kB / 0.5774 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.6039, allocations: 2.772 MB / 0.5801 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009326/0.6133, allocations: 3.885 MB / 0.5839 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/0.6138, allocations: 463.5 kB / 0.5843 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/0.616, allocations: 0.5817 MB / 0.5849 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04448/0.6604, allocations: 21.23 MB / 0.6056 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004016/0.6609, allocations: 67.34 kB / 0.6057 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/0.6639, allocations: 283.8 kB / 0.606 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006702/0.6706, allocations: 3.541 MB / 0.6094 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04023/0.7109, allocations: 17.19 MB / 0.6262 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4998/1.211, allocations: 67.81 MB / 0.6924 GB, free: 96.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/1.229, allocations: 6.676 MB / 0.6989 GB, free: 94.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/1.233, allocations: 2.291 MB / 0.7012 GB, free: 93.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.252, allocations: 9.79 MB / 0.7107 GB, free: 88.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/1.252, allocations: 71.09 kB / 0.7108 GB, free: 88.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.941e-06/1.252, allocations: 0 / 0.7108 GB, free: 88.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05154/1.304, allocations: 22.79 MB / 0.7331 GB, free: 76.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/1.304, allocations: 166.6 kB / 0.7332 GB, free: 76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007807/1.312, allocations: 5.994 MB / 0.7391 GB, free: 69.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006079/1.313, allocations: 80.44 kB / 0.7392 GB, free: 69.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.315, allocations: 5.185 MB / 0.7442 GB, free: 64.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.317, allocations: 1.251 MB / 0.7454 GB, free: 63.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/1.317, allocations: 196 kB / 0.7456 GB, free: 63.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003554/1.318, allocations: 0.7235 MB / 0.7463 GB, free: 62.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/1.322, allocations: 2.817 MB / 0.7491 GB, free: 59.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/1.328, allocations: 8.632 MB / 0.7575 GB, free: 48.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007125/1.336, allocations: 4.793 MB / 0.7622 GB, free: 43.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/1.336, allocations: 56 kB / 0.7623 GB, free: 43.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.01888/1.355, allocations: 11.19 MB / 0.7732 GB, free: 32.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000211/1.355, allocations: 92 kB / 0.7733 GB, free: 32.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003295/1.355, allocations: 205.4 kB / 0.7735 GB, free: 31.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/1.356, allocations: 304 kB / 0.7738 GB, free: 31.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007058/1.363, allocations: 2.359 MB / 0.7761 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003275/1.363, allocations: 405.2 kB / 0.7764 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/1.369, allocations: 482.4 kB / 0.7769 GB, free: 28.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.371, allocations: 0.5742 MB / 0.7775 GB, free: 27.75 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006746/1.378, allocations: 3.394 MB / 0.7808 GB, free: 24.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.379, allocations: 0.5438 MB / 0.7813 GB, free: 23.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/1.386, allocations: 3.435 MB / 0.7847 GB, free: 20.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/1.386, allocations: 36 kB / 0.7847 GB, free: 20.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.386, allocations: 0 / 0.7847 GB, free: 20.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/1.386, allocations: 19.94 kB / 0.7847 GB, free: 20.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/1.411, allocations: 13.79 MB / 0.7982 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.504e-05/1.411, allocations: 36.34 kB / 0.7982 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.413, allocations: 0.6123 MB / 0.7988 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-05/1.414, allocations: 55.98 kB / 0.7989 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/1.414, allocations: 106.6 kB / 0.799 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/1.414, allocations: 59.8 kB / 0.799 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-05/1.414, allocations: 59.73 kB / 0.7991 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008751/1.423, allocations: 6.289 MB / 0.8052 GB, free: 14.14 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/1.426, allocations: 0.8452 MB / 0.8061 GB, free: 13.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.427, allocations: 105.8 kB / 0.8062 GB, free: 13.17 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.431, allocations: 159.9 kB / 0.8063 GB, free: 13.02 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/1.431, allocations: 298.9 kB / 0.8066 GB, free: 12.73 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.431, allocations: 135.9 kB / 0.8067 GB, free: 12.59 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00741/1.439, allocations: 3.716 MB / 0.8104 GB, free: 8.879 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.51e-07/1.439, allocations: 0 / 0.8104 GB, free: 8.879 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01023/1.449, allocations: 1.568 MB / 0.8119 GB, free: 7.316 MB / 0.4982 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 (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.0009126/1.45, allocations: 277.4 kB / 0.8121 GB, free: 7.043 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.464, allocations: 6.456 MB / 0.8185 GB, free: 0.6211 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.159e-05/1.464, allocations: 4 kB / 0.8185 GB, free: 0.6172 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.2202/1.685, allocations: 1.563 MB / 0.82 GB, free: 147.6 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/1.689, allocations: 0.762 MB / 0.8207 GB, free: 147.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/1.718, allocations: 18.75 MB / 0.839 GB, free: 139.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006352/1.724, allocations: 5.14 MB / 0.8441 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00733/1.731, allocations: 2.761 MB / 0.8468 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.733, allocations: 419.8 kB / 0.8472 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of SimCode: time 1.543e-06/1.733, allocations: 0 / 0.8472 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.09292/1.826, allocations: 47.51 MB / 0.8936 GB, free: 114.9 MB / 0.4982 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: