Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001065/0.001065, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001256/0.001257, allocations: 177.3 kB / 15.95 MB, free: 216 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.346/1.346, 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.2+maint.om/package.mo): time 0.3062/0.3062, allocations: 40 MB / 310.4 MB, free: 9.625 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.2. 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.0005515/0.0005516, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 57.96 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2424/0.346, allocations: 74.96 MB / 0.4997 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04116/0.3872, allocations: 16.77 MB / 0.5161 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/0.4031, allocations: 368.8 kB / 0.5165 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.4165, allocations: 3.741 MB / 0.5201 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03689/0.4535, allocations: 10.54 MB / 0.5304 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.4591, allocations: 1.067 MB / 0.5315 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008048/0.4672, allocations: 3.937 MB / 0.5353 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.48, allocations: 8.472 MB / 0.5436 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.4837, allocations: 1.764 MB / 0.5453 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/0.488, allocations: 2.547 MB / 0.5478 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.4895, allocations: 276 kB / 0.548 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.4924, allocations: 0.8545 MB / 0.5489 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003854/0.4962, allocations: 2.833 MB / 0.5516 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.4984, allocations: 1.427 MB / 0.553 GB, free: 392 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.5086, allocations: 9.371 MB / 0.5622 GB, free: 6.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5087, allocations: 0 / 0.5622 GB, free: 6.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5087, allocations: 0 / 0.5622 GB, free: 6.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004515/0.5091, allocations: 0 / 0.5622 GB, free: 6.988 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.01381/0.5229, allocations: 6.751 MB / 0.5688 GB, free: 160 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.523, allocations: 8.031 kB / 0.5688 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.5358, allocations: 3.275 MB / 0.572 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009564/0.5454, allocations: 4.385 MB / 0.5763 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/0.546, allocations: 463.6 kB / 0.5767 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002769/0.5487, allocations: 0.5855 MB / 0.5773 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04894/0.5977, allocations: 21.44 MB / 0.5982 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/0.5981, allocations: 79.33 kB / 0.5983 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/0.6003, allocations: 291.7 kB / 0.5986 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005945/0.6062, allocations: 3.541 MB / 0.602 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04466/0.6509, allocations: 17.45 MB / 0.6191 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4921/1.143, allocations: 70.41 MB / 0.6878 GB, free: 92.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04419/1.187, allocations: 14.48 MB / 0.702 GB, free: 90.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/1.212, allocations: 14.5 MB / 0.7161 GB, free: 81.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/1.212, allocations: 67.41 kB / 0.7162 GB, free: 81.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=300): time 5.981e-06/1.212, allocations: 3.875 kB / 0.7162 GB, free: 81.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=334): time 0.1075/1.32, allocations: 41.72 MB / 0.7569 GB, free: 45.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.32, allocations: 162.7 kB / 0.7571 GB, free: 45.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008628/1.329, allocations: 6.36 MB / 0.7633 GB, free: 38.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007303/1.329, allocations: 77.7 kB / 0.7634 GB, free: 38.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/1.332, allocations: 5.199 MB / 0.7685 GB, free: 33.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.334, allocations: 1.263 MB / 0.7697 GB, free: 32.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.335, allocations: 203.2 kB / 0.7699 GB, free: 31.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007525/1.336, allocations: 0.7155 MB / 0.7706 GB, free: 31.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005535/1.341, allocations: 3.201 MB / 0.7737 GB, free: 28.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008073/1.349, allocations: 8.967 MB / 0.7825 GB, free: 16.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008074/1.357, allocations: 5.164 MB / 0.7875 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/1.358, allocations: 60 kB / 0.7876 GB, free: 10.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.02338/1.381, allocations: 12.1 MB / 0.7994 GB, free: 14.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/1.381, allocations: 92 kB / 0.7995 GB, free: 14.71 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003988/1.382, allocations: 204 kB / 0.7997 GB, free: 14.51 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.383, allocations: 0.5293 MB / 0.8002 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009354/1.392, allocations: 2.406 MB / 0.8025 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/1.396, allocations: 2.722 MB / 0.8052 GB, free: 8.719 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008042/1.404, allocations: 0.5423 MB / 0.8057 GB, free: 8.176 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002594/1.406, allocations: 0.5703 MB / 0.8063 GB, free: 7.605 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 (1256): * Single equations (assignments): 1252 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008171/1.415, allocations: 3.397 MB / 0.8096 GB, free: 4.199 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.416, allocations: 0.5515 MB / 0.8101 GB, free: 3.641 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/1.425, allocations: 4.335 MB / 0.8144 GB, free: 15.26 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/1.425, allocations: 36 kB / 0.8144 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.425, allocations: 3.953 kB / 0.8144 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/1.425, allocations: 15.94 kB / 0.8144 GB, free: 15.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0283/1.453, allocations: 13.66 MB / 0.8278 GB, free: 1.125 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.59e-05/1.453, allocations: 28 kB / 0.8278 GB, free: 1.098 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002681/1.456, allocations: 0.6318 MB / 0.8284 GB, free: 476 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.285e-05/1.456, allocations: 51.94 kB / 0.8285 GB, free: 424 kB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/1.456, allocations: 95.98 kB / 0.8285 GB, free: 328 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.575e-05/1.457, allocations: 63.84 kB / 0.8286 GB, free: 264 kB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.279e-05/1.457, allocations: 48.7 kB / 0.8286 GB, free: 216 kB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2525/1.709, allocations: 11.87 MB / 0.8402 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/1.712, allocations: 0.8847 MB / 0.8411 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000987/1.713, allocations: 101.6 kB / 0.8412 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.715, allocations: 171.9 kB / 0.8414 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/1.716, allocations: 279.3 kB / 0.8416 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.716, allocations: 126.7 kB / 0.8418 GB, free: 148 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007953/1.724, allocations: 3.989 MB / 0.8456 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.91e-07/1.724, allocations: 0 / 0.8456 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009237/1.733, allocations: 1.625 MB / 0.8472 GB, free: 147.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (319): * Single equations (assignments): 316 * 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.0008374/1.734, allocations: 286.4 kB / 0.8475 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.746, allocations: 7.177 MB / 0.8545 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.447e-05/1.746, allocations: 2.969 kB / 0.8545 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/1.749, allocations: 1.687 MB / 0.8562 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.753, allocations: 0.6964 MB / 0.8568 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/1.788, allocations: 18.79 MB / 0.8752 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/1.8, allocations: 5.294 MB / 0.8804 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00946/1.809, allocations: 2.807 MB / 0.8831 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.811, allocations: 424.5 kB / 0.8835 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.713e-06/1.811, allocations: 0 / 0.8835 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.09405/1.905, allocations: 51.51 MB / 0.9338 GB, free: 92.66 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) Environment - environmentSimulation: