Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 113.8 kB / 17.07 MB, free: 5.969 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.001608/0.001609, allocations: 190.8 kB / 18 MB, free: 5.055 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.001174/0.001174, allocations: 55.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2074/0.3159, allocations: 7.431 MB / 381.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005886/0.3218, allocations: 3.246 MB / 385.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.3229, allocations: 33.16 kB / 385.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.3249, allocations: 1.03 MB / 386.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.3281, allocations: 1.362 MB / 387.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3292, allocations: 452.7 kB / 388 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.333, allocations: 2.636 MB / 390.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.3353, allocations: 1.536 MB / 392.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.337, allocations: 0.8414 MB / 393.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.339, allocations: 1.224 MB / 394.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005749/0.3396, allocations: 170 kB / 394.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3421, allocations: 1.029 MB / 395.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3434, allocations: 1.108 MB / 396.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.3448, allocations: 1.306 MB / 397.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.3517, allocations: 4.388 MB / 402.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3517, allocations: 0 / 402.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3517, allocations: 0 / 402.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.00013/0.3519, allocations: 5.219 kB / 402.3 MB, free: 15.97 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.008096/0.36, allocations: 3.13 MB / 405.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/0.3601, allocations: 8.5 kB / 405.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/0.3671, allocations: 1.754 MB / 407.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.3709, allocations: 1.451 MB / 408.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.371, allocations: 136.5 kB / 408.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/0.3717, allocations: 258.9 kB / 409 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.3841, allocations: 6.656 MB / 415.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.3842, allocations: 36.61 kB / 415.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.3845, allocations: 87.91 kB / 415.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002128/0.3866, allocations: 1.359 MB / 417.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.3983, allocations: 6.033 MB / 423.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.4306, allocations: 25.59 MB / 448.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007137/0.4378, allocations: 2.666 MB / 451.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4392, allocations: 1.04 MB / 452.5 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/0.4454, allocations: 3.901 MB / 456.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4455, allocations: 47.12 kB / 456.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.927e-06/0.4455, allocations: 3.938 kB / 456.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.03193/0.4775, allocations: 10.43 MB / 466.9 MB, free: 1.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001909/0.4794, allocations: 1.686 MB / 468.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007915/0.4873, allocations: 2.734 MB / 471.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/0.4878, allocations: 41.7 kB / 471.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.4904, allocations: 2.179 MB / 473.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.4915, allocations: 0.5234 MB / 474 MB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/0.4948, allocations: 0.9212 MB / 474.9 MB, free: 8.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4949, allocations: 305.1 kB / 475.2 MB, free: 8.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.4991, allocations: 1.66 MB / 476.9 MB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/0.5061, allocations: 4.456 MB / 481.4 MB, free: 1.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.5187, allocations: 6.542 MB / 487.9 MB, free: 9.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.5189, allocations: 32 kB / 487.9 MB, free: 9.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.03135/0.5502, allocations: 8.011 MB / 495.9 MB, free: 1.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.5504, allocations: 52.12 kB / 496 MB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01792/0.5684, allocations: 3.488 MB / 499.5 MB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/0.5863, allocations: 2.585 MB / 0.4903 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/0.592, allocations: 1.01 MB / 0.4913 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.6152, allocations: 9.689 MB / 0.5007 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/0.621, allocations: 335.6 kB / 0.5011 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/0.622, allocations: 284 kB / 0.5013 GB, free: 15.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003635/0.6256, allocations: 1.427 MB / 0.5027 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008693/0.6265, allocations: 242.4 kB / 0.503 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/0.6341, allocations: 2.835 MB / 0.5057 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006237/0.6404, allocations: 2.517 MB / 0.5082 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.6404, allocations: 4 kB / 0.5082 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.6405, allocations: 7.969 kB / 0.5082 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.6577, allocations: 6.879 MB / 0.5149 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.6577, allocations: 128 / 0.5149 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6588, allocations: 183.7 kB / 0.5151 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005197/0.664, allocations: 1.434 MB / 0.5165 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/0.6644, allocations: 35.97 kB / 0.5165 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6761, allocations: 7.919 MB / 0.5243 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001221/0.6773, allocations: 1.541 MB / 0.5258 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6876, allocations: 4.866 MB / 0.5305 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/0.6885, allocations: 307.8 kB / 0.5308 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006373/0.6892, allocations: 32.41 kB / 0.5308 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.6907, allocations: 123.8 kB / 0.531 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.6911, allocations: 76.38 kB / 0.531 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.6912, allocations: 39.97 kB / 0.5311 GB, free: 256 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003576/0.6948, allocations: 1.705 MB / 0.5327 GB, free: 14.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6948, allocations: 0 / 0.5327 GB, free: 14.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004422/0.6992, allocations: 0.7929 MB / 0.5335 GB, free: 13.74 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.6997, allocations: 162.8 kB / 0.5337 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008513/0.7082, allocations: 4.45 MB / 0.538 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7083, allocations: 0 / 0.538 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00339/0.7117, allocations: 1.725 MB / 0.5397 GB, free: 7.305 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.714, allocations: 262.4 kB / 0.5399 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.7267, allocations: 6.645 MB / 0.5464 GB, free: 348 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1888/0.9155, allocations: 2.294 MB / 0.5487 GB, free: 151.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003741/0.9193, allocations: 1.405 MB / 0.55 GB, free: 151.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.9198, allocations: 165 kB / 0.5502 GB, free: 151.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.9198, allocations: 1.031 kB / 0.5502 GB, free: 151.6 MB / 478.1 MB Notification: Performance of Templates: time 0.05236/0.9722, allocations: 28.6 MB / 0.5781 GB, free: 141.7 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)