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.001257/0.001257, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001271/0.001271, allocations: 199 kB / 18 MB, free: 5.199 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.418/1.418, 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.001383/0.001383, allocations: 51.92 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.229/0.333, allocations: 7.433 MB / 381.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006893/0.34, allocations: 3.233 MB / 385.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.3416, allocations: 44.44 kB / 385.2 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.3445, allocations: 1.028 MB / 386.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.3493, allocations: 1.365 MB / 387.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3507, allocations: 449.2 kB / 388 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.3561, allocations: 2.643 MB / 390.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.359, allocations: 1.533 MB / 392.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.3613, allocations: 0.8521 MB / 393.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.3636, allocations: 1.216 MB / 394.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006999/0.3644, allocations: 170.2 kB / 394.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.3671, allocations: 1.031 MB / 395.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3685, allocations: 1.105 MB / 396.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.3701, allocations: 1.31 MB / 397.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.3762, allocations: 4.357 MB / 402.2 MB, free: 212 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3762, allocations: 0 / 402.2 MB, free: 212 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3762, allocations: 4 kB / 402.3 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.3764, allocations: 1.188 kB / 402.3 MB, free: 208 kB / 318.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.008033/0.3844, allocations: 3.057 MB / 405.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3845, allocations: 8.469 kB / 405.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00706/0.3916, allocations: 1.737 MB / 407.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.3955, allocations: 1.454 MB / 408.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.3957, allocations: 137.5 kB / 408.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007151/0.3964, allocations: 262 kB / 408.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.4088, allocations: 6.652 MB / 415.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.4089, allocations: 27.81 kB / 415.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.4092, allocations: 91.88 kB / 415.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.4114, allocations: 1.359 MB / 417 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.4236, allocations: 6.033 MB / 423.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.4569, allocations: 25.54 MB / 448.6 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007124/0.464, allocations: 2.663 MB / 451.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.4655, allocations: 1.036 MB / 452.3 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006612/0.4721, allocations: 3.896 MB / 456.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4722, allocations: 47.06 kB / 456.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 4.979e-06/0.4722, allocations: 4 kB / 456.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02728/0.4995, allocations: 10.3 MB / 466.5 MB, free: 1.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001484/0.501, allocations: 1.686 MB / 468.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.5057, allocations: 2.73 MB / 471 MB, free: 13.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003282/0.506, allocations: 45.69 kB / 471 MB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.5074, allocations: 2.083 MB / 473.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005626/0.508, allocations: 0.5053 MB / 473.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.5093, allocations: 0.9165 MB / 474.5 MB, free: 9.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5094, allocations: 309.1 kB / 474.8 MB, free: 9.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.5118, allocations: 1.656 MB / 476.5 MB, free: 7.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.5158, allocations: 4.452 MB / 480.9 MB, free: 1.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007944/0.5238, allocations: 6.542 MB / 487.5 MB, free: 9.656 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.906e-05/0.5239, allocations: 28 kB / 487.5 MB, free: 9.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02095/0.5448, allocations: 7.994 MB / 495.5 MB, free: 1.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.5449, allocations: 48 kB / 495.5 MB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0119/0.5569, allocations: 3.495 MB / 499 MB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/0.5691, allocations: 2.581 MB / 0.4898 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.5726, allocations: 1.01 MB / 0.4908 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.5875, allocations: 9.691 MB / 0.5003 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.5915, allocations: 335.5 kB / 0.5006 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008125/0.5923, allocations: 288 kB / 0.5009 GB, free: 15.88 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.002627/0.595, allocations: 1.423 MB / 0.5023 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004895/0.5955, allocations: 229 kB / 0.5025 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/0.6021, allocations: 2.842 MB / 0.5053 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005982/0.6081, allocations: 2.517 MB / 0.5077 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.6082, allocations: 4 kB / 0.5077 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.6082, allocations: 7.969 kB / 0.5077 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.6226, allocations: 6.871 MB / 0.5145 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.6227, allocations: 0 / 0.5145 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/0.6236, allocations: 175.7 kB / 0.5146 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004856/0.6284, allocations: 1.434 MB / 0.516 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/0.6286, allocations: 43.95 kB / 0.5161 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.6396, allocations: 7.914 MB / 0.5238 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001129/0.6408, allocations: 1.541 MB / 0.5253 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009181/0.65, allocations: 4.845 MB / 0.53 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.6509, allocations: 294.4 kB / 0.5303 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/0.6515, allocations: 35.97 kB / 0.5303 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.653, allocations: 107.9 kB / 0.5304 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.6533, allocations: 88.44 kB / 0.5305 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.6534, allocations: 39.97 kB / 0.5306 GB, free: 0.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003871/0.6573, allocations: 1.697 MB / 0.5322 GB, free: 15.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6573, allocations: 4 kB / 0.5322 GB, free: 15.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007138/0.6645, allocations: 0.7892 MB / 0.533 GB, free: 14.33 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.0008134/0.6653, allocations: 174.9 kB / 0.5332 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008667/0.674, allocations: 4.446 MB / 0.5375 GB, free: 9.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.674, allocations: 0 / 0.5375 GB, free: 9.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.6775, allocations: 1.725 MB / 0.5392 GB, free: 7.887 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.6805, allocations: 263 kB / 0.5394 GB, free: 7.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6928, allocations: 6.554 MB / 0.5458 GB, free: 1.016 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1882/0.8811, allocations: 2.295 MB / 0.5481 GB, free: 152.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003383/0.8845, allocations: 1.404 MB / 0.5495 GB, free: 152.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.885, allocations: 167.2 kB / 0.5496 GB, free: 152.3 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.885, allocations: 3.906 kB / 0.5496 GB, free: 152.3 MB / 478.1 MB Notification: Performance of Templates: time 0.04769/0.9327, allocations: 28.6 MB / 0.5776 GB, free: 142.8 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)