Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_4.0.0_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.001053/0.001053, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001025/0.001025, allocations: 189.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009643/0.0009643, allocations: 43.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2115, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01037/0.222, allocations: 10.74 MB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006338/0.2283, allocations: 3.935 MB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/0.2292, allocations: 55.88 kB / 416.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004316/0.2335, allocations: 2.589 MB / 418.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.2368, allocations: 1.798 MB / 420.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.2381, allocations: 0.6863 MB / 421.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.242, allocations: 3.701 MB / 424.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.2456, allocations: 3.555 MB / 428.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.2476, allocations: 1.472 MB / 429.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.25, allocations: 1.955 MB / 431.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.2507, allocations: 312 kB / 432.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.2527, allocations: 1.17 MB / 433.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.2543, allocations: 1.843 MB / 435.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.2565, allocations: 2.14 MB / 437.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005494/0.262, allocations: 6.688 MB / 444 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.262, allocations: 0 / 444 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.262, allocations: 4 kB / 444 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.941e-05/0.2621, allocations: 0 / 444 MB, free: 14.02 MB / 366.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.006435/0.2685, allocations: 4.573 MB / 448.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2686, allocations: 12.03 kB / 448.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.2751, allocations: 1.875 MB / 450.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.2785, allocations: 2.017 MB / 452.5 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.2787, allocations: 250.2 kB / 452.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007571/0.2795, allocations: 399.5 kB / 453.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.2941, allocations: 10.06 MB / 463.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/0.2942, allocations: 39.62 kB / 463.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.2946, allocations: 155.9 kB / 463.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.2972, allocations: 1.857 MB / 465.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.3114, allocations: 8.331 MB / 473.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03884/0.3503, allocations: 39.24 MB / 0.5008 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.3605, allocations: 3.993 MB / 0.5047 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.3622, allocations: 1.439 MB / 0.5061 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00986/0.3721, allocations: 7.622 MB / 0.5136 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3722, allocations: 55.5 kB / 0.5136 GB, free: 9.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.076e-06/0.3722, allocations: 0 / 0.5136 GB, free: 9.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02922/0.4014, allocations: 11.99 MB / 0.5253 GB, free: 13.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4015, allocations: 141.5 kB / 0.5255 GB, free: 13.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/0.4058, allocations: 3.816 MB / 0.5292 GB, free: 9.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.4059, allocations: 45.7 kB / 0.5292 GB, free: 9.258 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4077, allocations: 3.11 MB / 0.5323 GB, free: 6.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.4082, allocations: 0.6251 MB / 0.5329 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.4095, allocations: 1.242 MB / 0.5341 GB, free: 4.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.4096, allocations: 301.1 kB / 0.5344 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.4123, allocations: 1.941 MB / 0.5363 GB, free: 1.973 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1751/0.5874, allocations: 5.863 MB / 0.542 GB, free: 125.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/0.5943, allocations: 8.458 MB / 0.5503 GB, free: 118 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.529e-05/0.5944, allocations: 39.25 kB / 0.5503 GB, free: 118 MB / 462.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01758/0.612, allocations: 9.515 MB / 0.5596 GB, free: 115 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/0.6121, allocations: 62.47 kB / 0.5597 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01047/0.6225, allocations: 3.539 MB / 0.5631 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.634, allocations: 2.615 MB / 0.5657 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/0.6373, allocations: 1.353 MB / 0.567 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008384/0.6457, allocations: 7.703 MB / 0.5745 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.6493, allocations: 339.6 kB / 0.5748 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/0.6497, allocations: 379.6 kB / 0.5752 GB, free: 101.2 MB / 462.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 (737): * Single equations (assignments): 729 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002293/0.652, allocations: 2.012 MB / 0.5772 GB, free: 99.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.6524, allocations: 327.4 kB / 0.5775 GB, free: 99.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.6577, allocations: 2.837 MB / 0.5802 GB, free: 96.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6577, allocations: 8.438 kB / 0.5802 GB, free: 96.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6578, allocations: 0 / 0.5802 GB, free: 96.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.6582, allocations: 364.7 kB / 0.5806 GB, free: 96.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.6586, allocations: 35.98 kB / 0.5806 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6597, allocations: 87.88 kB / 0.5807 GB, free: 95.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.66, allocations: 132.7 kB / 0.5808 GB, free: 95.79 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005285/0.6653, allocations: 3.26 MB / 0.584 GB, free: 92.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003464/0.6687, allocations: 3.732 MB / 0.5877 GB, free: 88.82 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009278/0.6697, allocations: 0.9328 MB / 0.5886 GB, free: 87.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002422/0.6721, allocations: 2.337 MB / 0.5909 GB, free: 85.57 MB / 462.1 MB Notification: Performance of Backend: time 3.71e-07/0.6721, allocations: 1.969 kB / 0.5909 GB, free: 85.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007725/0.6798, allocations: 4.674 MB / 0.5954 GB, free: 80.88 MB / 462.1 MB Notification: Performance of SimCode: time 0.009628/0.6895, allocations: 9.226 MB / 0.6044 GB, free: 71.62 MB / 462.1 MB Notification: Performance of Templates: time 0.05983/0.7493, allocations: 43.29 MB / 0.6467 GB, free: 28.51 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)