Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 89.42 kB / 16.65 MB, free: 6.262 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.001235/0.001235, allocations: 181.3 kB / 17.57 MB, free: 5.875 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.441/1.441, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 16 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0432/0.1529, allocations: 45.73 MB / 374.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2218/0.3748, allocations: 9.899 MB / 384 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01058/0.3854, allocations: 202.8 kB / 384.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.3877, allocations: 458.3 kB / 384.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.3947, allocations: 1.852 MB / 386.5 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.3969, allocations: 0.7552 MB / 387.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.4083, allocations: 6.527 MB / 393.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009716/0.4181, allocations: 4.934 MB / 398.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.4215, allocations: 1.287 MB / 400 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.4253, allocations: 2.216 MB / 402.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007695/0.4261, allocations: 161 kB / 402.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.4288, allocations: 1.145 MB / 403.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.4308, allocations: 1.926 MB / 405.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.4334, allocations: 2.203 MB / 407.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00725/0.4406, allocations: 6.999 MB / 414.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4407, allocations: 0 / 414.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4407, allocations: 0 / 414.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003095/0.441, allocations: 0 / 414.6 MB, free: 15.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01/0.451, allocations: 4.339 MB / 418.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4511, allocations: 8.031 kB / 418.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008874/0.4599, allocations: 2.17 MB / 421.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.4658, allocations: 2.585 MB / 423.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.4661, allocations: 282.5 kB / 424 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.4676, allocations: 425.6 kB / 424.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.4923, allocations: 12.24 MB / 436.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.4925, allocations: 48.09 kB / 436.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006913/0.4932, allocations: 177.4 kB / 436.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003447/0.4967, allocations: 2.166 MB / 439 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.5204, allocations: 10.24 MB / 449.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05913/0.5796, allocations: 44.32 MB / 493.6 MB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.5915, allocations: 4.606 MB / 498.2 MB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.5942, allocations: 1.724 MB / 499.9 MB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.6064, allocations: 8.218 MB / 0.4962 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.6064, allocations: 55.81 kB / 0.4963 GB, free: 136 kB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 5.169e-06/0.6065, allocations: 3.938 kB / 0.4963 GB, free: 132 kB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.04038/0.6468, allocations: 15.98 MB / 0.5119 GB, free: 15.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00121/0.6481, allocations: 1.597 MB / 0.5134 GB, free: 14.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005758/0.6539, allocations: 4.219 MB / 0.5176 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000412/0.6543, allocations: 53.7 kB / 0.5176 GB, free: 9.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/0.6567, allocations: 3.402 MB / 0.5209 GB, free: 6.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008866/0.6576, allocations: 0.8097 MB / 0.5217 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007675/0.6584, allocations: 0.5825 MB / 0.5223 GB, free: 5.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6585, allocations: 309.1 kB / 0.5226 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.6621, allocations: 2.262 MB / 0.5248 GB, free: 2.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006188/0.6683, allocations: 6.394 MB / 0.531 GB, free: 10.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.215/0.8833, allocations: 9.314 MB / 0.5401 GB, free: 171.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/0.8835, allocations: 42.25 kB / 0.5402 GB, free: 171.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0297/0.9132, allocations: 10.06 MB / 0.55 GB, free: 170 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.9134, allocations: 74.84 kB / 0.5501 GB, free: 170 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01179/0.9252, allocations: 3.795 MB / 0.5538 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.9358, allocations: 2.161 MB / 0.5559 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/0.9407, allocations: 1.583 MB / 0.5574 GB, free: 168.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.948, allocations: 6.065 MB / 0.5634 GB, free: 165.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/0.9533, allocations: 428.2 kB / 0.5638 GB, free: 165.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007707/0.9541, allocations: 414.5 kB / 0.5642 GB, free: 165.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004299/0.9584, allocations: 2.22 MB / 0.5663 GB, free: 164.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/0.9591, allocations: 374.8 kB / 0.5667 GB, free: 164.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.9652, allocations: 3.294 MB / 0.5699 GB, free: 162.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004548/0.9697, allocations: 2.752 MB / 0.5726 GB, free: 161 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.9698, allocations: 3.938 kB / 0.5726 GB, free: 161 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.9698, allocations: 7.969 kB / 0.5726 GB, free: 161 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.9873, allocations: 10.34 MB / 0.5827 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.9873, allocations: 12.94 kB / 0.5827 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.9887, allocations: 369.6 kB / 0.5831 GB, free: 150.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.9915, allocations: 0.9874 MB / 0.584 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.9917, allocations: 63.97 kB / 0.5841 GB, free: 149.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.9957, allocations: 4.594 MB / 0.5886 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007272/0.9965, allocations: 1.469 MB / 0.59 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/1.004, allocations: 5.919 MB / 0.5958 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.006, allocations: 0.66 MB / 0.5964 GB, free: 136.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/1.006, allocations: 55.98 kB / 0.5965 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.008, allocations: 160.3 kB / 0.5966 GB, free: 136.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/1.008, allocations: 173.1 kB / 0.5968 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.008, allocations: 76.84 kB / 0.5969 GB, free: 136.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00354/1.012, allocations: 2.605 MB / 0.5994 GB, free: 133.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.012e-06/1.012, allocations: 0 / 0.5994 GB, free: 133.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006581/1.018, allocations: 1.173 MB / 0.6006 GB, free: 132.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006245/1.019, allocations: 208.8 kB / 0.6008 GB, free: 132.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.029, allocations: 5.973 MB / 0.6066 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.687e-05/1.029, allocations: 4 kB / 0.6066 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/1.033, allocations: 2.179 MB / 0.6087 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009909/1.043, allocations: 0.4929 MB / 0.6092 GB, free: 123.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.061, allocations: 13.14 MB / 0.622 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/1.064, allocations: 3.459 MB / 0.6254 GB, free: 106.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004548/1.068, allocations: 2.031 MB / 0.6274 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/1.069, allocations: 271.4 kB / 0.6277 GB, free: 104.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/1.069, allocations: 0.9844 kB / 0.6277 GB, free: 104.4 MB / 462.1 MB Notification: Performance of Templates: time 0.06832/1.137, allocations: 40.26 MB / 0.667 GB, free: 64.12 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)