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.00101/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008061/0.008061, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.379/1.379, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004444/0.0004444, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03033/0.2444, allocations: 33.69 MB / 360.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2595, allocations: 7.836 MB / 368.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004802/0.2643, allocations: 151.6 kB / 368.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2654, allocations: 366.2 kB / 369.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.2691, allocations: 1.553 MB / 370.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2705, allocations: 0.5499 MB / 371.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005634/0.2761, allocations: 4.754 MB / 375.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004655/0.2808, allocations: 3.292 MB / 379.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.2823, allocations: 0.9607 MB / 380.2 MB, free: 14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.2849, allocations: 1.604 MB / 381.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000488/0.2854, allocations: 116 kB / 381.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.2877, allocations: 0.9437 MB / 382.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.2891, allocations: 1.429 MB / 384.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.2906, allocations: 1.686 MB / 386 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.2958, allocations: 5.426 MB / 391.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2958, allocations: 0 / 391.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2958, allocations: 0 / 391.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.852e-05/0.2959, allocations: 0 / 391.4 MB, free: 2.754 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.006165/0.3021, allocations: 3.309 MB / 394.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3021, allocations: 8.031 kB / 394.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006436/0.3086, allocations: 1.825 MB / 396.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.3123, allocations: 1.963 MB / 398.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3124, allocations: 192.8 kB / 398.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.3129, allocations: 255.8 kB / 398.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.3255, allocations: 8.431 MB / 407.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.074e-05/0.3256, allocations: 39.67 kB / 407.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3259, allocations: 123.9 kB / 407.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/0.3286, allocations: 1.703 MB / 409.2 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.3417, allocations: 7.102 MB / 416.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.3771, allocations: 34.17 MB / 450.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007225/0.3844, allocations: 3.279 MB / 453.8 MB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.3863, allocations: 1.462 MB / 455.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1593/0.5456, allocations: 4.357 MB / 459.6 MB, free: 112.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.5457, allocations: 54.09 kB / 459.6 MB, free: 112.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 5.701e-06/0.5457, allocations: 0 / 459.6 MB, free: 112.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02766/0.5734, allocations: 11.5 MB / 471.1 MB, free: 107.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5735, allocations: 144.5 kB / 471.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.5775, allocations: 3.732 MB / 475 MB, free: 105.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.5777, allocations: 45.7 kB / 475.1 MB, free: 105.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.5788, allocations: 2.755 MB / 477.8 MB, free: 102.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.5792, allocations: 0.5166 MB / 478.3 MB, free: 102.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.5796, allocations: 461.7 kB / 478.8 MB, free: 101.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.5797, allocations: 305.1 kB / 479.1 MB, free: 101.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.5815, allocations: 1.701 MB / 480.8 MB, free: 99.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003027/0.5846, allocations: 5.131 MB / 485.9 MB, free: 93.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/0.5898, allocations: 7.418 MB / 493.3 MB, free: 83.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.92e-05/0.5899, allocations: 36 kB / 493.4 MB, free: 83.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008616/0.5985, allocations: 6.731 MB / 0.4884 GB, free: 77.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.5986, allocations: 56 kB / 0.4884 GB, free: 77.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.74e-05/0.5987, allocations: 120 kB / 0.4885 GB, free: 76.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.5992, allocations: 321.5 kB / 0.4888 GB, free: 76.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.6022, allocations: 1.252 MB / 0.4901 GB, free: 75.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.6041, allocations: 2.28 MB / 0.4923 GB, free: 72.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.6073, allocations: 295.6 kB / 0.4926 GB, free: 72.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.6076, allocations: 328 kB / 0.4929 GB, free: 72.36 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.002084/0.6097, allocations: 1.79 MB / 0.4946 GB, free: 70.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.6101, allocations: 308 kB / 0.4949 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.6141, allocations: 2.367 MB / 0.4972 GB, free: 67.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.6142, allocations: 17.25 kB / 0.4973 GB, free: 67.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.6142, allocations: 5.125 kB / 0.4973 GB, free: 67.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6142, allocations: 8.062 kB / 0.4973 GB, free: 67.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008779/0.623, allocations: 5.933 MB / 0.5031 GB, free: 61.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.623, allocations: 0 / 0.5031 GB, free: 61.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.6237, allocations: 171.8 kB / 0.5032 GB, free: 61.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.6257, allocations: 0.7224 MB / 0.5039 GB, free: 60.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.6258, allocations: 20 kB / 0.504 GB, free: 60.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/0.6305, allocations: 4.466 MB / 0.5083 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6305, allocations: 4.125 kB / 0.5083 GB, free: 56.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.6364, allocations: 4.317 MB / 0.5125 GB, free: 52.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.6375, allocations: 0.5399 MB / 0.5131 GB, free: 51.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6378, allocations: 24.06 kB / 0.5131 GB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6388, allocations: 65.58 kB / 0.5131 GB, free: 51.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.639, allocations: 68.5 kB / 0.5132 GB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.6391, allocations: 37.62 kB / 0.5132 GB, free: 51.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002929/0.642, allocations: 2.331 MB / 0.5155 GB, free: 48.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.642, allocations: 0 / 0.5155 GB, free: 48.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004056/0.6461, allocations: 0.8177 MB / 0.5163 GB, free: 48.12 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.0003887/0.6465, allocations: 152.3 kB / 0.5165 GB, free: 47.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005361/0.6519, allocations: 4.031 MB / 0.5204 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.6519, allocations: 0 / 0.5204 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.6532, allocations: 1.116 MB / 0.5215 GB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.6561, allocations: 374.8 kB / 0.5219 GB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.6675, allocations: 9.03 MB / 0.5307 GB, free: 33.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.6697, allocations: 2.793 MB / 0.5334 GB, free: 30.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0036/0.6733, allocations: 1.652 MB / 0.535 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.674, allocations: 207.4 kB / 0.5352 GB, free: 28.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.674, allocations: 4 kB / 0.5352 GB, free: 28.73 MB / 382.1 MB Notification: Performance of Templates: time 0.04898/0.7229, allocations: 29.44 MB / 0.564 GB, free: 15.3 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)