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.006075/0.006075, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001394/0.001394, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.002348/0.002348, allocations: 50.8 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1312, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01273/0.144, allocations: 10.22 MB / 383.4 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009415/0.1535, allocations: 3.783 MB / 387.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.1559, allocations: 59.81 kB / 387.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.1605, allocations: 1.95 MB / 389.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005442/0.166, allocations: 1.693 MB / 390.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1679, allocations: 0.6121 MB / 391.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.1739, allocations: 3.338 MB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.1776, allocations: 2.579 MB / 397.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.18, allocations: 1.246 MB / 398.7 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.1827, allocations: 1.678 MB / 400.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008585/0.1836, allocations: 256 kB / 400.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.1862, allocations: 1.026 MB / 401.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.1885, allocations: 1.59 MB / 403.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.1917, allocations: 1.821 MB / 405 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00849/0.2002, allocations: 5.831 MB / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2003, allocations: 0 / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2003, allocations: 0 / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002463/0.2005, allocations: 4 kB / 410.9 MB, free: 11.42 MB / 350.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.01117/0.2117, allocations: 4.022 MB / 414.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2118, allocations: 8.031 kB / 414.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/0.2182, allocations: 1.774 MB / 416.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.2227, allocations: 1.998 MB / 418.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.2229, allocations: 188.8 kB / 418.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.224, allocations: 255.8 kB / 419.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.2415, allocations: 8.431 MB / 427.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/0.2417, allocations: 39.59 kB / 427.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.2428, allocations: 127.9 kB / 427.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.2458, allocations: 1.695 MB / 429.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.2604, allocations: 7.098 MB / 436.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2825/0.5429, allocations: 34.02 MB / 470.5 MB, free: 45.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008633/0.5516, allocations: 3.288 MB / 473.8 MB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.5539, allocations: 1.461 MB / 475.3 MB, free: 43.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007387/0.5613, allocations: 4.357 MB / 479.6 MB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.5614, allocations: 48.58 kB / 479.7 MB, free: 41.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.809e-06/0.5614, allocations: 0 / 479.7 MB, free: 41.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02526/0.5867, allocations: 11.53 MB / 491.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.5868, allocations: 143.8 kB / 491.3 MB, free: 35.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/0.5909, allocations: 3.73 MB / 495.1 MB, free: 33.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.5911, allocations: 41.42 kB / 495.1 MB, free: 33.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.5923, allocations: 2.752 MB / 497.9 MB, free: 30.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.5926, allocations: 0.523 MB / 498.4 MB, free: 30.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.5937, allocations: 1.079 MB / 499.5 MB, free: 29.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.5937, allocations: 309 kB / 499.8 MB, free: 29.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.5956, allocations: 1.705 MB / 0.4897 GB, free: 27.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.5988, allocations: 5.126 MB / 0.4947 GB, free: 20.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005563/0.6043, allocations: 7.416 MB / 0.502 GB, free: 11.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-05/0.6044, allocations: 36 kB / 0.502 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00896/0.6134, allocations: 6.723 MB / 0.5086 GB, free: 4.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.6135, allocations: 56 kB / 0.5086 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.822e-05/0.6136, allocations: 128.2 kB / 0.5087 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.6141, allocations: 316.7 kB / 0.509 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.6173, allocations: 1.244 MB / 0.5103 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6193, allocations: 2.492 MB / 0.5127 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/0.6231, allocations: 287.4 kB / 0.513 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/0.6237, allocations: 339.7 kB / 0.5133 GB, free: 15.75 MB / 398.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.002823/0.6265, allocations: 1.791 MB / 0.515 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007268/0.6272, allocations: 312 kB / 0.5153 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.6319, allocations: 2.355 MB / 0.5176 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.632, allocations: 12 kB / 0.5177 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.632, allocations: 8 kB / 0.5177 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.632, allocations: 11.97 kB / 0.5177 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.6447, allocations: 5.922 MB / 0.5235 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.6448, allocations: 7.5 kB / 0.5235 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.6457, allocations: 163.8 kB / 0.5236 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.6478, allocations: 0.7186 MB / 0.5243 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.648, allocations: 23.83 kB / 0.5243 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005852/0.6538, allocations: 4.808 MB / 0.529 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6539, allocations: 4.031 kB / 0.529 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/0.6607, allocations: 4.325 MB / 0.5333 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.6624, allocations: 0.5281 MB / 0.5338 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/0.6633, allocations: 20.06 kB / 0.5338 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.6644, allocations: 67.91 kB / 0.5339 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.6647, allocations: 64.56 kB / 0.5339 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.6648, allocations: 36 kB / 0.534 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003946/0.6688, allocations: 2.327 MB / 0.5362 GB, free: 8.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6688, allocations: 0.8438 kB / 0.5362 GB, free: 8.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004633/0.6734, allocations: 0.8201 MB / 0.537 GB, free: 7.203 MB / 414.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.0004283/0.6739, allocations: 159.2 kB / 0.5372 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006773/0.6807, allocations: 4.052 MB / 0.5411 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6807, allocations: 0 / 0.5411 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.6824, allocations: 1.113 MB / 0.5422 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.685, allocations: 409.1 kB / 0.5426 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.6979, allocations: 7.27 MB / 0.5497 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.7006, allocations: 2.784 MB / 0.5524 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003487/0.7041, allocations: 1.66 MB / 0.5541 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/0.7047, allocations: 211.4 kB / 0.5543 GB, free: 5.539 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7047, allocations: 0 / 0.5543 GB, free: 5.539 MB / 430.1 MB Notification: Performance of Templates: time 0.05441/0.7591, allocations: 27.94 MB / 0.5815 GB, free: 9.652 MB / 462.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)