Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008756/0.0008755, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008773/0.0008773, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.0004849/0.0004851, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2622, allocations: 47.58 MB / 326.4 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01723/0.2795, allocations: 15.26 MB / 341.7 MB, free: 4.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.2927, allocations: 4.793 MB / 346.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.2962, allocations: 67.88 kB / 346.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.2985, allocations: 0.7154 MB / 347.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.306, allocations: 2.416 MB / 349.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3072, allocations: 367.4 kB / 350.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.31, allocations: 1.497 MB / 351.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.3125, allocations: 1.854 MB / 353.4 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.3134, allocations: 0.6267 MB / 354 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.3145, allocations: 0.8839 MB / 354.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.3147, allocations: 84 kB / 355 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3163, allocations: 0.8347 MB / 355.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008509/0.3172, allocations: 0.9546 MB / 356.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.3176, allocations: 0.5118 MB / 357.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.3208, allocations: 3.294 MB / 360.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3209, allocations: 0 / 360.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3209, allocations: 0 / 360.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.708e-05/0.321, allocations: 4 kB / 360.6 MB, free: 1.238 MB / 286.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.00581/0.3268, allocations: 2.591 MB / 363.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3269, allocations: 8.031 kB / 363.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/0.3345, allocations: 2.087 MB / 365.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.3381, allocations: 1.608 MB / 366.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3382, allocations: 131.3 kB / 367 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007117/0.3389, allocations: 259.6 kB / 367.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3501, allocations: 6.695 MB / 374 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.734e-05/0.3502, allocations: 23.81 kB / 374 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.3505, allocations: 87.89 kB / 374.1 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/0.3528, allocations: 1.363 MB / 375.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.3657, allocations: 6.064 MB / 381.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.3965, allocations: 25.69 MB / 407.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006619/0.4032, allocations: 2.666 MB / 409.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006617/0.4099, allocations: 3.92 MB / 413.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.4099, allocations: 51.05 kB / 413.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=112): time 4.217e-06/0.41, allocations: 3.938 kB / 413.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.02631/0.4363, allocations: 10.64 MB / 424.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001286/0.4376, allocations: 1.6 MB / 426.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.4416, allocations: 2.851 MB / 428.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.4419, allocations: 41.7 kB / 429 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.4434, allocations: 2.087 MB / 431.1 MB, free: 8.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.444, allocations: 0.5054 MB / 431.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4442, allocations: 88 kB / 431.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.4445, allocations: 0.4961 MB / 432.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.4468, allocations: 1.652 MB / 433.8 MB, free: 5.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004091/0.4509, allocations: 4.428 MB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.4544, allocations: 2.646 MB / 440.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.691e-05/0.4545, allocations: 28 kB / 440.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01931/0.4738, allocations: 7.984 MB / 448.9 MB, free: 5.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.4739, allocations: 51.94 kB / 448.9 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01171/0.4856, allocations: 3.504 MB / 452.4 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.231/0.7166, allocations: 2.59 MB / 455 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.7203, allocations: 1.008 MB / 456 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.7333, allocations: 9.323 MB / 465.4 MB, free: 102.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/0.7373, allocations: 323.3 kB / 465.7 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/0.7379, allocations: 283.9 kB / 465.9 MB, free: 102.3 MB / 382.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 (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001967/0.7398, allocations: 1.424 MB / 467.4 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.7402, allocations: 233.6 kB / 467.6 MB, free: 101.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005821/0.7461, allocations: 2.84 MB / 470.4 MB, free: 100.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005269/0.7514, allocations: 2.516 MB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.7514, allocations: 7.906 kB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.7514, allocations: 3.422 kB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.7641, allocations: 6.878 MB / 479.8 MB, free: 94.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.7641, allocations: 3.5 kB / 479.8 MB, free: 94.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/0.7651, allocations: 181.1 kB / 480 MB, free: 94.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004434/0.7695, allocations: 1.432 MB / 481.5 MB, free: 93.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.7697, allocations: 35.97 kB / 481.5 MB, free: 93.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/0.7778, allocations: 7.535 MB / 489 MB, free: 85.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006945/0.7785, allocations: 1.465 MB / 490.5 MB, free: 83.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007275/0.7858, allocations: 4.965 MB / 495.5 MB, free: 79.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007136/0.7866, allocations: 301.2 kB / 495.7 MB, free: 78.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.7868, allocations: 28.69 kB / 495.8 MB, free: 78.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.788, allocations: 107.8 kB / 495.9 MB, free: 78.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.7882, allocations: 90.84 kB / 496 MB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.7883, allocations: 45.3 kB / 496 MB, free: 78.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.7903, allocations: 1.776 MB / 497.8 MB, free: 76.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7904, allocations: 0 / 497.8 MB, free: 76.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003307/0.7937, allocations: 0.8072 MB / 498.6 MB, free: 75.94 MB / 382.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004143/0.7941, allocations: 181.7 kB / 498.8 MB, free: 75.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006291/0.8004, allocations: 4.386 MB / 0.4914 GB, free: 71.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.8004, allocations: 0 / 0.4914 GB, free: 71.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.803, allocations: 1.724 MB / 0.4931 GB, free: 69.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.8044, allocations: 247.4 kB / 0.4933 GB, free: 69.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008213/0.8126, allocations: 7.674 MB / 0.5008 GB, free: 61.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.8143, allocations: 2.354 MB / 0.5031 GB, free: 59.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002837/0.8172, allocations: 1.419 MB / 0.5045 GB, free: 57.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.8175, allocations: 167.4 kB / 0.5046 GB, free: 57.69 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.8175, allocations: 4 kB / 0.5046 GB, free: 57.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03879/0.8563, allocations: 29.33 MB / 0.5333 GB, free: 28.36 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) Environment - environmentSimulation: