Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.0008242, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00108/0.00108, allocations: 172.7 kB / 15.95 MB, free: 208 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.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0005022/0.0005022, allocations: 15.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2608, allocations: 47.57 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03628/0.2972, allocations: 38.21 MB / 364.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.3193, allocations: 8.664 MB / 373.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009747/0.3291, allocations: 179.6 kB / 373.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006899/0.336, allocations: 1.975 MB / 375.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01861/0.3547, allocations: 5.899 MB / 381.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.3578, allocations: 0.5617 MB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006996/0.3649, allocations: 4.27 MB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007432/0.3723, allocations: 4.179 MB / 390.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.3753, allocations: 1.206 MB / 391.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.3786, allocations: 1.799 MB / 393.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3796, allocations: 140 kB / 393.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.3824, allocations: 0.8971 MB / 394.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.385, allocations: 1.601 MB / 396 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.3867, allocations: 0.7999 MB / 396.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007929/0.3947, allocations: 5.113 MB / 402 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3947, allocations: 0 / 402 MB, free: 7.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3947, allocations: 0 / 402 MB, free: 7.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003316/0.3951, allocations: 0 / 402 MB, free: 7.742 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01163/0.4067, allocations: 3.805 MB / 405.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.4068, allocations: 12.03 kB / 405.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.4137, allocations: 1.928 MB / 407.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/0.4189, allocations: 1.985 MB / 409.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.4193, allocations: 250.2 kB / 409.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.4211, allocations: 399.6 kB / 410.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02357/0.4447, allocations: 10.05 MB / 420.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.445, allocations: 39.62 kB / 420.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.4462, allocations: 159.9 kB / 420.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.4493, allocations: 1.857 MB / 422.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.4691, allocations: 8.296 MB / 430.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2788/0.7479, allocations: 39.36 MB / 470.1 MB, free: 86.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/0.7571, allocations: 3.993 MB / 474.1 MB, free: 85.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.7588, allocations: 1.418 MB / 475.5 MB, free: 85.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009355/0.7682, allocations: 7.635 MB / 483.1 MB, free: 80.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.7683, allocations: 50.56 kB / 483.2 MB, free: 80.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.157e-06/0.7683, allocations: 3.938 kB / 483.2 MB, free: 80.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03139/0.7997, allocations: 12.35 MB / 495.5 MB, free: 71.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001003/0.8007, allocations: 1.597 MB / 497.1 MB, free: 69.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005189/0.8059, allocations: 3.808 MB / 0.4892 GB, free: 65.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003039/0.8063, allocations: 50.88 kB / 0.4893 GB, free: 65.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.8076, allocations: 3.108 MB / 0.4923 GB, free: 62.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.8081, allocations: 0.6461 MB / 0.4929 GB, free: 61.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.8084, allocations: 130.4 kB / 0.493 GB, free: 61.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.8086, allocations: 0.5626 MB / 0.4936 GB, free: 61.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.8111, allocations: 2.011 MB / 0.4956 GB, free: 59.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.815, allocations: 5.951 MB / 0.5014 GB, free: 51.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.8188, allocations: 3.366 MB / 0.5047 GB, free: 48.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/0.8189, allocations: 41.5 kB / 0.5047 GB, free: 48.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01812/0.837, allocations: 9.68 MB / 0.5141 GB, free: 38.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.8371, allocations: 68.47 kB / 0.5142 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009431/0.8466, allocations: 3.735 MB / 0.5179 GB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.8566, allocations: 2.656 MB / 0.5205 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.8606, allocations: 1.368 MB / 0.5218 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008682/0.8693, allocations: 7.193 MB / 0.5288 GB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/0.8745, allocations: 400.5 kB / 0.5292 GB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005841/0.8751, allocations: 388 kB / 0.5296 GB, free: 22.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.002652/0.8777, allocations: 2.015 MB / 0.5315 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.8782, allocations: 331.6 kB / 0.5318 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/0.8842, allocations: 3.126 MB / 0.5349 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004742/0.889, allocations: 2.676 MB / 0.5375 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.889, allocations: 4 kB / 0.5375 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.8891, allocations: 3.984 kB / 0.5375 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.9027, allocations: 8.561 MB / 0.5459 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.9027, allocations: 0 / 0.5459 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.9036, allocations: 191.7 kB / 0.5461 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/0.9075, allocations: 1.436 MB / 0.5475 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.9077, allocations: 35.97 kB / 0.5475 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005696/0.9134, allocations: 5.702 MB / 0.5531 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00115/0.9145, allocations: 1.461 MB / 0.5545 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00945/0.924, allocations: 5.295 MB / 0.5597 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.9251, allocations: 380.7 kB / 0.56 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.9255, allocations: 31.98 kB / 0.5601 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.9268, allocations: 115.8 kB / 0.5602 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.927, allocations: 96.8 kB / 0.5603 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.9272, allocations: 43.98 kB / 0.5603 GB, free: 6.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004421/0.9316, allocations: 2.333 MB / 0.5626 GB, free: 3.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9316, allocations: 0 / 0.5626 GB, free: 3.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005453/0.9371, allocations: 1.036 MB / 0.5636 GB, free: 2.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004991/0.9376, allocations: 161.5 kB / 0.5638 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/0.9477, allocations: 5.469 MB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9477, allocations: 4.188 kB / 0.5691 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003923/0.9517, allocations: 2.016 MB / 0.5711 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.9541, allocations: 385.9 kB / 0.5714 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.9723, allocations: 10.7 MB / 0.5819 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/0.9763, allocations: 3.111 MB / 0.5849 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004827/0.9811, allocations: 1.807 MB / 0.5867 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.9817, allocations: 215.4 kB / 0.5869 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.9818, allocations: 4 kB / 0.5869 GB, free: 10.72 MB / 430.1 MB Notification: Performance of Templates: time 0.263/1.245, allocations: 35.96 MB / 0.622 GB, free: 154.6 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)