Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008041/0.0008042, allocations: 89.27 kB / 16.32 MB, free: 6.457 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.0008587/0.0008586, allocations: 179.8 kB / 17.21 MB, free: 6.324 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.45/1.45, allocations: 205.4 MB / 223.4 MB, free: 5.266 MB / 174.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.0004682/0.0004682, allocations: 12 kB / 280.1 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 47.59 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02876/0.288, allocations: 31.38 MB / 359.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.307, allocations: 7.432 MB / 366.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006761/0.3138, allocations: 147.6 kB / 366.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005477/0.3193, allocations: 1.571 MB / 368.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.3337, allocations: 4.86 MB / 373.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3361, allocations: 0.507 MB / 373.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.342, allocations: 3.782 MB / 377.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00498/0.347, allocations: 2.964 MB / 380.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.3492, allocations: 1.051 MB / 381.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.3518, allocations: 1.593 MB / 383 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005868/0.3524, allocations: 112 kB / 383.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.3544, allocations: 0.7996 MB / 383.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.3558, allocations: 1.395 MB / 385.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007763/0.3566, allocations: 0.6948 MB / 386 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.361, allocations: 4.442 MB / 390.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.361, allocations: 0 / 390.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.361, allocations: 0 / 390.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001179/0.3611, allocations: 3.938 kB / 390.5 MB, free: 4.527 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005988/0.3671, allocations: 3.348 MB / 393.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3672, allocations: 12.03 kB / 393.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/0.3733, allocations: 1.82 MB / 395.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/0.3779, allocations: 1.928 MB / 397.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3781, allocations: 188.8 kB / 397.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000515/0.3786, allocations: 255.8 kB / 398 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.3925, allocations: 8.42 MB / 406.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.3926, allocations: 39.59 kB / 406.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.393, allocations: 127.9 kB / 406.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.3957, allocations: 1.699 MB / 408.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.4098, allocations: 7.079 MB / 415.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04087/0.4508, allocations: 34.13 MB / 449.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.4582, allocations: 3.267 MB / 452.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.4603, allocations: 1.455 MB / 454.2 MB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2024/0.6627, allocations: 4.364 MB / 458.6 MB, free: 112.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6628, allocations: 47.91 kB / 458.6 MB, free: 112.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.279e-06/0.6628, allocations: 0 / 458.6 MB, free: 112.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02655/0.6894, allocations: 11.5 MB / 470.1 MB, free: 108.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.6895, allocations: 144.4 kB / 470.3 MB, free: 108.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/0.6943, allocations: 3.706 MB / 474 MB, free: 107.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.6945, allocations: 41.52 kB / 474 MB, free: 107 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.6957, allocations: 2.751 MB / 476.8 MB, free: 104.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.6962, allocations: 0.5154 MB / 477.3 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.6964, allocations: 112.3 kB / 477.4 MB, free: 103.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.6967, allocations: 0.5292 MB / 477.9 MB, free: 103.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.6987, allocations: 1.681 MB / 479.6 MB, free: 101.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/0.7019, allocations: 5.107 MB / 484.7 MB, free: 94.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.705, allocations: 2.88 MB / 487.6 MB, free: 91.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.979e-05/0.705, allocations: 36 kB / 487.6 MB, free: 91.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009147/0.7142, allocations: 6.683 MB / 494.3 MB, free: 85.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.7143, allocations: 56 kB / 494.4 MB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.7144, allocations: 120 kB / 494.5 MB, free: 85.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.7149, allocations: 340.5 kB / 494.8 MB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/0.7184, allocations: 1.254 MB / 496.1 MB, free: 83.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.7202, allocations: 2.282 MB / 498.3 MB, free: 81.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/0.7239, allocations: 283.5 kB / 498.6 MB, free: 80.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/0.7243, allocations: 332 kB / 499 MB, free: 80.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002293/0.7266, allocations: 1.788 MB / 0.489 GB, free: 78.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.7271, allocations: 316.9 kB / 0.4893 GB, free: 78.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.7308, allocations: 2.36 MB / 0.4916 GB, free: 75.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.7309, allocations: 17.33 kB / 0.4916 GB, free: 75.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7309, allocations: 4 kB / 0.4916 GB, free: 75.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7309, allocations: 7.969 kB / 0.4916 GB, free: 75.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/0.7398, allocations: 5.92 MB / 0.4974 GB, free: 69.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.7398, allocations: 8.109 kB / 0.4974 GB, free: 69.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.7406, allocations: 175.7 kB / 0.4976 GB, free: 69.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.7424, allocations: 0.7147 MB / 0.4983 GB, free: 69.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.7425, allocations: 23.98 kB / 0.4983 GB, free: 69.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.7468, allocations: 4.459 MB / 0.5027 GB, free: 64.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7468, allocations: 11.97 kB / 0.5027 GB, free: 64.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.7523, allocations: 4.306 MB / 0.5069 GB, free: 60.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.7535, allocations: 0.532 MB / 0.5074 GB, free: 59.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.7539, allocations: 21.09 kB / 0.5074 GB, free: 59.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.7549, allocations: 67.91 kB / 0.5075 GB, free: 59.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.7551, allocations: 77.14 kB / 0.5076 GB, free: 59.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.7552, allocations: 36.7 kB / 0.5076 GB, free: 59.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003292/0.7585, allocations: 2.311 MB / 0.5099 GB, free: 57.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7585, allocations: 3.938 kB / 0.5099 GB, free: 57.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00468/0.7632, allocations: 0.8197 MB / 0.5107 GB, free: 56.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004352/0.7636, allocations: 155.6 kB / 0.5108 GB, free: 56.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.7689, allocations: 3.999 MB / 0.5147 GB, free: 52.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7689, allocations: 8.062 kB / 0.5147 GB, free: 52.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.7701, allocations: 1.101 MB / 0.5158 GB, free: 50.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.7723, allocations: 369.1 kB / 0.5161 GB, free: 50.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.7829, allocations: 8.648 MB / 0.5246 GB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.7852, allocations: 2.785 MB / 0.5273 GB, free: 39.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00368/0.7889, allocations: 1.658 MB / 0.5289 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006253/0.7896, allocations: 207.4 kB / 0.5291 GB, free: 37.27 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7896, allocations: 0 / 0.5291 GB, free: 37.27 MB / 382.1 MB Notification: Performance of Templates: time 0.04573/0.8353, allocations: 28.9 MB / 0.5574 GB, free: 8.387 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)