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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001038/0.001038, allocations: 199.1 kB / 16.14 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.416/1.416, allocations: 205.1 MB / 222 MB, free: 4.719 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.001168/0.001168, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.245, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03295/0.278, allocations: 34.69 MB / 359.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.2952, allocations: 7.89 MB / 367.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006985/0.3023, allocations: 155.5 kB / 367.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.3066, allocations: 1.928 MB / 369.3 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.3117, allocations: 1.538 MB / 370.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3136, allocations: 0.5616 MB / 371.4 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.3199, allocations: 4.75 MB / 376.2 MB, free: 480 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.3233, allocations: 2.555 MB / 378.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.3255, allocations: 1.101 MB / 379.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.3281, allocations: 1.803 MB / 381.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.3286, allocations: 172 kB / 381.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.3306, allocations: 1.002 MB / 382.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3322, allocations: 1.519 MB / 384.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.3342, allocations: 1.766 MB / 386.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.3398, allocations: 5.572 MB / 391.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3398, allocations: 0 / 391.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3399, allocations: 0 / 391.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.34, allocations: 0 / 391.7 MB, free: 0.8867 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.007664/0.3476, allocations: 4.018 MB / 395.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3477, allocations: 12.03 kB / 395.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/0.3537, allocations: 1.77 MB / 397.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.358, allocations: 1.967 MB / 399.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.3582, allocations: 196.8 kB / 399.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.3588, allocations: 251.8 kB / 399.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.3719, allocations: 8.427 MB / 408.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-05/0.3721, allocations: 43.59 kB / 408.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.3724, allocations: 127.9 kB / 408.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/0.375, allocations: 1.692 MB / 410.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3881, allocations: 7.094 MB / 417.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04299/0.4312, allocations: 34.17 MB / 451.4 MB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2017/0.633, allocations: 3.276 MB / 454.7 MB, free: 114.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/0.6373, allocations: 1.478 MB / 456.2 MB, free: 113.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007055/0.6443, allocations: 4.36 MB / 460.5 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.6444, allocations: 49.97 kB / 460.6 MB, free: 111.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.819e-06/0.6445, allocations: 0 / 460.6 MB, free: 111.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02728/0.6717, allocations: 11.54 MB / 472.1 MB, free: 106.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.6718, allocations: 144.4 kB / 472.3 MB, free: 106.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.6776, allocations: 3.736 MB / 476 MB, free: 103.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.6779, allocations: 41.7 kB / 476 MB, free: 103.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.6794, allocations: 2.738 MB / 478.8 MB, free: 100.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000598/0.68, allocations: 0.5224 MB / 479.3 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.6818, allocations: 1.083 MB / 480.4 MB, free: 99.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.6819, allocations: 309.1 kB / 480.7 MB, free: 98.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.6841, allocations: 1.704 MB / 482.4 MB, free: 97.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/0.6881, allocations: 5.131 MB / 487.5 MB, free: 90.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005958/0.6941, allocations: 7.408 MB / 494.9 MB, free: 81.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.6942, allocations: 36 kB / 495 MB, free: 81.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009499/0.7037, allocations: 6.733 MB / 0.4899 GB, free: 74.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.7039, allocations: 56 kB / 0.49 GB, free: 74.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/0.7041, allocations: 120.9 kB / 0.4901 GB, free: 74.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.7047, allocations: 321.4 kB / 0.4904 GB, free: 74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.7081, allocations: 1.248 MB / 0.4916 GB, free: 72.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.7102, allocations: 2.281 MB / 0.4939 GB, free: 70.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/0.7139, allocations: 287.7 kB / 0.4941 GB, free: 70.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/0.7145, allocations: 339.9 kB / 0.4945 GB, free: 69.73 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.002809/0.7174, allocations: 1.783 MB / 0.4962 GB, free: 67.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.718, allocations: 311.9 kB / 0.4965 GB, free: 67.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.7221, allocations: 2.369 MB / 0.4988 GB, free: 65.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.7222, allocations: 12 kB / 0.4988 GB, free: 65.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.7222, allocations: 4 kB / 0.4988 GB, free: 65.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7222, allocations: 11.97 kB / 0.4988 GB, free: 65.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.7335, allocations: 5.921 MB / 0.5046 GB, free: 59.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.7335, allocations: 0 / 0.5046 GB, free: 59.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.7343, allocations: 171.8 kB / 0.5048 GB, free: 59.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.7362, allocations: 0.7158 MB / 0.5055 GB, free: 58.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.7363, allocations: 20 kB / 0.5055 GB, free: 58.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004574/0.7409, allocations: 4.466 MB / 0.5099 GB, free: 53.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7409, allocations: 0 / 0.5099 GB, free: 53.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.7465, allocations: 4.332 MB / 0.5141 GB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.7476, allocations: 0.5204 MB / 0.5146 GB, free: 48.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006658/0.7483, allocations: 24 kB / 0.5146 GB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.7497, allocations: 67.5 kB / 0.5147 GB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.7499, allocations: 68.5 kB / 0.5148 GB, free: 48.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.75, allocations: 36 kB / 0.5148 GB, free: 48.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003937/0.7539, allocations: 2.327 MB / 0.5171 GB, free: 46.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7539, allocations: 8.062 kB / 0.5171 GB, free: 46.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004637/0.7586, allocations: 0.8221 MB / 0.5179 GB, free: 45.52 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.0004492/0.7591, allocations: 145.7 kB / 0.518 GB, free: 45.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00538/0.7644, allocations: 4.042 MB / 0.522 GB, free: 41.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7645, allocations: 4.438 kB / 0.522 GB, free: 41.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.7658, allocations: 1.103 MB / 0.523 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.7685, allocations: 366.8 kB / 0.5234 GB, free: 39.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.7816, allocations: 8.964 MB / 0.5321 GB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/0.7851, allocations: 2.796 MB / 0.5349 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004231/0.7893, allocations: 1.656 MB / 0.5365 GB, free: 26.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008882/0.7902, allocations: 215.4 kB / 0.5367 GB, free: 26.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7903, allocations: 3.938 kB / 0.5367 GB, free: 26.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04983/0.8401, allocations: 29.82 MB / 0.5658 GB, free: 12.38 MB / 398.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)