Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008176/0.000821, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009315/0.0009317, allocations: 168.7 kB / 15.95 MB, free: 204 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.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004728/0.0004728, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2851, allocations: 47.59 MB / 326.5 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03037/0.3155, allocations: 31.38 MB / 357.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.3333, allocations: 7.424 MB / 365.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005953/0.3393, allocations: 147.6 kB / 365.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006032/0.3454, allocations: 1.578 MB / 367 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0148/0.3602, allocations: 4.852 MB / 371.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.3641, allocations: 0.5109 MB / 372.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007331/0.3715, allocations: 3.79 MB / 376.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006241/0.3778, allocations: 2.968 MB / 379.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.3802, allocations: 1.047 MB / 380.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.3831, allocations: 1.596 MB / 381.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005589/0.3837, allocations: 116 kB / 381.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.386, allocations: 0.7879 MB / 382.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.388, allocations: 1.395 MB / 384.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.389, allocations: 0.7064 MB / 384.8 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.3951, allocations: 4.431 MB / 389.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3951, allocations: 0 / 389.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3951, allocations: 0 / 389.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.3953, allocations: 4 kB / 389.2 MB, free: 4.73 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.008584/0.4038, allocations: 3.351 MB / 392.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4039, allocations: 8.031 kB / 392.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/0.4099, allocations: 1.824 MB / 394.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.4134, allocations: 1.92 MB / 396.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.4136, allocations: 192.8 kB / 396.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004235/0.414, allocations: 255.8 kB / 396.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.4265, allocations: 8.416 MB / 405.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.605e-05/0.4266, allocations: 35.66 kB / 405.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.427, allocations: 127.9 kB / 405.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/0.4296, allocations: 1.699 MB / 407 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.4432, allocations: 7.086 MB / 414.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.043/0.4863, allocations: 34.13 MB / 448.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/0.4937, allocations: 3.263 MB / 451.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.4959, allocations: 1.463 MB / 453 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.197/0.693, allocations: 4.35 MB / 457.3 MB, free: 113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.6931, allocations: 50.67 kB / 457.4 MB, free: 113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.688e-06/0.6931, allocations: 0.5 kB / 457.4 MB, free: 113 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02424/0.7173, allocations: 11.49 MB / 468.9 MB, free: 109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.7174, allocations: 140.7 kB / 469 MB, free: 108.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.7209, allocations: 3.704 MB / 472.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.7211, allocations: 45.94 kB / 472.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.7222, allocations: 2.756 MB / 475.5 MB, free: 104.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.7225, allocations: 0.5192 MB / 476 MB, free: 104.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.7227, allocations: 110 kB / 476.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.7229, allocations: 0.5253 MB / 476.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.7248, allocations: 1.681 MB / 478.3 MB, free: 102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.7284, allocations: 5.107 MB / 483.5 MB, free: 95.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.7317, allocations: 2.88 MB / 486.3 MB, free: 92.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.872e-05/0.7317, allocations: 39.94 kB / 486.4 MB, free: 92.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008351/0.7401, allocations: 6.687 MB / 493.1 MB, free: 85.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.7402, allocations: 56 kB / 493.1 MB, free: 85.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.174e-05/0.7403, allocations: 120 kB / 493.2 MB, free: 85.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.7408, allocations: 338 kB / 493.6 MB, free: 85.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.7439, allocations: 1.255 MB / 494.8 MB, free: 83.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.7458, allocations: 2.286 MB / 497.1 MB, free: 81.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.7491, allocations: 280.1 kB / 497.4 MB, free: 81.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.7494, allocations: 332 kB / 497.7 MB, free: 80.86 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.002155/0.7516, allocations: 1.788 MB / 499.5 MB, free: 79.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.752, allocations: 308 kB / 499.8 MB, free: 78.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.7558, allocations: 2.364 MB / 0.4904 GB, free: 76.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.7558, allocations: 20.5 kB / 0.4904 GB, free: 76.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7558, allocations: 5.594 kB / 0.4904 GB, free: 76.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7558, allocations: 7.969 kB / 0.4904 GB, free: 76.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008713/0.7646, allocations: 5.925 MB / 0.4962 GB, free: 70.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7646, allocations: 4 kB / 0.4962 GB, free: 70.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.7653, allocations: 169.7 kB / 0.4964 GB, free: 70.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/0.7671, allocations: 0.7147 MB / 0.4971 GB, free: 69.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.7672, allocations: 24.92 kB / 0.4971 GB, free: 69.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.7716, allocations: 4.459 MB / 0.5014 GB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.7716, allocations: 9.781 kB / 0.5015 GB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00521/0.7768, allocations: 4.314 MB / 0.5057 GB, free: 60.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.7779, allocations: 0.532 MB / 0.5062 GB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.7782, allocations: 20 kB / 0.5062 GB, free: 59.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/0.7791, allocations: 68.61 kB / 0.5063 GB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.7792, allocations: 68.62 kB / 0.5063 GB, free: 59.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.7793, allocations: 36.7 kB / 0.5064 GB, free: 59.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002692/0.782, allocations: 2.311 MB / 0.5086 GB, free: 57.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.782, allocations: 0 / 0.5086 GB, free: 57.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003561/0.7856, allocations: 0.8268 MB / 0.5094 GB, free: 56.67 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.0002972/0.7859, allocations: 152.2 kB / 0.5096 GB, free: 56.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004955/0.7909, allocations: 4.004 MB / 0.5135 GB, free: 52.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7909, allocations: 7.938 kB / 0.5135 GB, free: 52.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.7922, allocations: 1.103 MB / 0.5146 GB, free: 51.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.7942, allocations: 366.3 kB / 0.5149 GB, free: 51.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.8084, allocations: 8.654 MB / 0.5234 GB, free: 42.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/0.8121, allocations: 2.785 MB / 0.5261 GB, free: 39.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.005034/0.8171, allocations: 1.658 MB / 0.5277 GB, free: 37.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.8178, allocations: 207.4 kB / 0.5279 GB, free: 37.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8178, allocations: 0 / 0.5279 GB, free: 37.69 MB / 382.1 MB Notification: Performance of Templates: time 0.0498/0.8676, allocations: 28.9 MB / 0.5561 GB, free: 8.805 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)