Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001099/0.001099, allocations: 108.9 kB / 17.06 MB, free: 6.141 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.001192/0.001192, allocations: 192 kB / 18 MB, free: 5.219 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.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.00121/0.00121, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09473, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2055/0.3002, allocations: 10.23 MB / 384.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.3088, allocations: 3.785 MB / 388.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.3112, allocations: 55.22 kB / 388.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.3153, allocations: 1.951 MB / 390.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.3214, allocations: 1.659 MB / 392.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3233, allocations: 0.6099 MB / 392.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005765/0.3291, allocations: 3.342 MB / 396.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.3327, allocations: 2.588 MB / 398.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.3354, allocations: 1.242 MB / 400 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.3387, allocations: 1.675 MB / 401.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009134/0.3396, allocations: 252.8 kB / 401.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.3424, allocations: 1.026 MB / 402.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.3444, allocations: 1.562 MB / 404.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003114/0.3476, allocations: 1.834 MB / 406.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008034/0.3556, allocations: 5.826 MB / 412.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3557, allocations: 1.375 kB / 412.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3557, allocations: 0 / 412.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.3559, allocations: 0 / 412.1 MB, free: 9.184 MB / 334.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.00977/0.3656, allocations: 4.022 MB / 416.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3657, allocations: 12.03 kB / 416.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/0.3724, allocations: 1.77 MB / 417.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/0.3772, allocations: 1.994 MB / 419.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3773, allocations: 200.7 kB / 420.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006044/0.3779, allocations: 247.8 kB / 420.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.3952, allocations: 8.431 MB / 428.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.3954, allocations: 43.59 kB / 428.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.3958, allocations: 119.9 kB / 429 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002938/0.3987, allocations: 1.695 MB / 430.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.4137, allocations: 7.102 MB / 437.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.458, allocations: 34.02 MB / 471.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008114/0.4662, allocations: 3.302 MB / 475.1 MB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.4683, allocations: 1.466 MB / 476.5 MB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007814/0.4761, allocations: 4.342 MB / 480.9 MB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4762, allocations: 58.98 kB / 480.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.389e-06/0.4762, allocations: 0 / 480.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02977/0.506, allocations: 11.53 MB / 492.5 MB, free: 7.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5061, allocations: 145.2 kB / 492.6 MB, free: 6.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/0.5113, allocations: 3.729 MB / 496.3 MB, free: 3.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.5116, allocations: 41.7 kB / 496.4 MB, free: 3.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.5136, allocations: 2.744 MB / 499.1 MB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006376/0.5142, allocations: 0.5286 MB / 499.6 MB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.5156, allocations: 1.075 MB / 0.489 GB, free: 14.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5157, allocations: 309 kB / 0.4893 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.5185, allocations: 1.709 MB / 0.4909 GB, free: 12.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/0.5241, allocations: 5.127 MB / 0.496 GB, free: 5.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/0.5333, allocations: 7.424 MB / 0.5032 GB, free: 12.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.5334, allocations: 36 kB / 0.5032 GB, free: 12.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01323/0.5467, allocations: 6.719 MB / 0.5098 GB, free: 6.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.5468, allocations: 60 kB / 0.5099 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.5469, allocations: 120 kB / 0.51 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.5476, allocations: 321.2 kB / 0.5103 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/0.5512, allocations: 1.252 MB / 0.5115 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.554, allocations: 2.485 MB / 0.5139 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.5582, allocations: 287.7 kB / 0.5142 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006306/0.5588, allocations: 336 kB / 0.5145 GB, free: 1.047 MB / 446.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.003156/0.562, allocations: 1.795 MB / 0.5163 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.5626, allocations: 311.9 kB / 0.5166 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00496/0.5676, allocations: 2.363 MB / 0.5189 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/0.5676, allocations: 16 kB / 0.5189 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5676, allocations: 0 / 0.5189 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.5677, allocations: 11.97 kB / 0.5189 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.5799, allocations: 5.917 MB / 0.5247 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/0.5799, allocations: 0 / 0.5247 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.5808, allocations: 179.7 kB / 0.5249 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.583, allocations: 0.7114 MB / 0.5255 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.5832, allocations: 20 kB / 0.5256 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.5894, allocations: 4.812 MB / 0.5303 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5894, allocations: 7.938 kB / 0.5303 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.5966, allocations: 4.321 MB / 0.5345 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.5982, allocations: 0.5243 MB / 0.535 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.5986, allocations: 27.88 kB / 0.535 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5997, allocations: 67.91 kB / 0.5351 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.5999, allocations: 72.56 kB / 0.5352 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.6001, allocations: 35.98 kB / 0.5352 GB, free: 11.56 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004356/0.6044, allocations: 2.331 MB / 0.5375 GB, free: 9.242 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6044, allocations: 0 / 0.5375 GB, free: 9.242 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006125/0.6106, allocations: 0.8125 MB / 0.5383 GB, free: 8.43 MB / 478.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.0005342/0.6111, allocations: 167 kB / 0.5384 GB, free: 8.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007435/0.6186, allocations: 4.05 MB / 0.5424 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.6186, allocations: 0 / 0.5424 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.6204, allocations: 1.108 MB / 0.5435 GB, free: 3.102 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.6235, allocations: 396.4 kB / 0.5438 GB, free: 2.711 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.248/0.8715, allocations: 7.262 MB / 0.5509 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003391/0.875, allocations: 2.785 MB / 0.5537 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004265/0.8792, allocations: 1.658 MB / 0.5553 GB, free: 140.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.8799, allocations: 209.3 kB / 0.5555 GB, free: 140.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.081e-05/0.8799, allocations: 0 / 0.5555 GB, free: 140.8 MB / 478.1 MB Notification: Performance of Templates: time 0.05241/0.9323, allocations: 27.93 MB / 0.5828 GB, free: 125.8 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)