Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001149/0.001149, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.478/1.478, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001381/0.001381, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2513, allocations: 46.63 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01178/0.2631, allocations: 10.24 MB / 335.5 MB, free: 9.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009082/0.2722, allocations: 3.772 MB / 339.3 MB, free: 5.875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.275, allocations: 55.88 kB / 339.4 MB, free: 5.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005567/0.2806, allocations: 1.95 MB / 341.3 MB, free: 3.863 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.2872, allocations: 1.657 MB / 343 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.2896, allocations: 0.6082 MB / 343.6 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.2962, allocations: 3.342 MB / 346.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/0.3014, allocations: 2.589 MB / 349.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003205/0.3046, allocations: 1.246 MB / 350.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.3087, allocations: 1.674 MB / 352.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.31, allocations: 256 kB / 352.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.3134, allocations: 1.026 MB / 353.7 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.3164, allocations: 1.551 MB / 355.3 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004816/0.3212, allocations: 1.837 MB / 357.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.3324, allocations: 5.619 MB / 362.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.3324, allocations: 0 / 362.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3324, allocations: 3.938 kB / 362.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002823/0.3327, allocations: 0 / 362.7 MB, free: 14.35 MB / 302.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.01367/0.3464, allocations: 4.014 MB / 366.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.3465, allocations: 12.03 kB / 366.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/0.3538, allocations: 1.774 MB / 368.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.3586, allocations: 1.971 MB / 370.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3589, allocations: 192.8 kB / 370.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.3601, allocations: 251.8 kB / 370.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.3778, allocations: 8.427 MB / 379.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/0.3781, allocations: 43.59 kB / 379.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009885/0.3791, allocations: 123.9 kB / 379.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003451/0.3825, allocations: 1.699 MB / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.3989, allocations: 7.094 MB / 388.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04979/0.4488, allocations: 34.17 MB / 422.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/0.4567, allocations: 3.283 MB / 425.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.4588, allocations: 1.462 MB / 427.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007538/0.4664, allocations: 4.361 MB / 431.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.4665, allocations: 51.05 kB / 431.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 5.791e-06/0.4665, allocations: 7.938 kB / 431.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03206/0.4985, allocations: 11.53 MB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.4987, allocations: 145.1 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/0.5054, allocations: 3.733 MB / 447.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.5058, allocations: 45.64 kB / 447.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/0.5081, allocations: 2.748 MB / 449.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/0.5089, allocations: 0.5248 MB / 450.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.5104, allocations: 1.075 MB / 451.5 MB, free: 3.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5105, allocations: 305.1 kB / 451.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.5133, allocations: 1.705 MB / 453.5 MB, free: 1.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1795/0.6927, allocations: 5.125 MB / 458.6 MB, free: 106.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/0.7001, allocations: 7.413 MB / 466 MB, free: 100.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002152/0.7004, allocations: 35.31 kB / 466 MB, free: 100.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01071/0.7111, allocations: 6.732 MB / 472.8 MB, free: 98.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.7113, allocations: 55.75 kB / 472.8 MB, free: 98.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/0.7115, allocations: 121.4 kB / 472.9 MB, free: 98.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.7122, allocations: 321.1 kB / 473.2 MB, free: 98.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.7158, allocations: 1.243 MB / 474.5 MB, free: 98.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.718, allocations: 2.501 MB / 477 MB, free: 96.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/0.7218, allocations: 284.3 kB / 477.3 MB, free: 96.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006547/0.7224, allocations: 330.3 kB / 477.6 MB, free: 95.94 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002963/0.7254, allocations: 1.79 MB / 479.4 MB, free: 94.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/0.7261, allocations: 311 kB / 479.7 MB, free: 94.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.7305, allocations: 2.366 MB / 482 MB, free: 92.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.7305, allocations: 19.52 kB / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.7306, allocations: 0 / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.7306, allocations: 10.8 kB / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.7414, allocations: 5.914 MB / 488 MB, free: 86.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.7415, allocations: 4 kB / 488 MB, free: 86.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/0.7423, allocations: 176.8 kB / 488.2 MB, free: 86.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.7443, allocations: 0.7132 MB / 488.9 MB, free: 85.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.7445, allocations: 20 kB / 488.9 MB, free: 85.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.7495, allocations: 4.819 MB / 493.7 MB, free: 80.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7496, allocations: 8.016 kB / 493.7 MB, free: 80.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/0.7556, allocations: 4.32 MB / 498 MB, free: 76.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.7568, allocations: 0.5243 MB / 498.6 MB, free: 76.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006401/0.7574, allocations: 23.94 kB / 498.6 MB, free: 76.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.7588, allocations: 71.91 kB / 498.7 MB, free: 76.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.759, allocations: 67.19 kB / 498.7 MB, free: 75.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.869e-05/0.7591, allocations: 36 kB / 498.8 MB, free: 75.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00354/0.7627, allocations: 2.327 MB / 0.4894 GB, free: 73.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7627, allocations: 0 / 0.4894 GB, free: 73.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00485/0.7676, allocations: 0.8184 MB / 0.4901 GB, free: 72.81 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005252/0.7681, allocations: 160.4 kB / 0.4903 GB, free: 72.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007134/0.7753, allocations: 4.409 MB / 0.4946 GB, free: 68.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.7753, allocations: 0 / 0.4946 GB, free: 68.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.7768, allocations: 1.114 MB / 0.4957 GB, free: 67.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/0.7806, allocations: 396.2 kB / 0.4961 GB, free: 66.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.7938, allocations: 7.372 MB / 0.5033 GB, free: 59.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/0.7975, allocations: 2.785 MB / 0.506 GB, free: 56.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004158/0.8017, allocations: 1.656 MB / 0.5076 GB, free: 54.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/0.8026, allocations: 209.4 kB / 0.5078 GB, free: 54.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8026, allocations: 0 / 0.5078 GB, free: 54.71 MB / 382.1 MB Notification: Performance of Templates: time 0.04773/0.8503, allocations: 31.01 MB / 0.5381 GB, free: 23.72 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)