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.001265/0.001269, allocations: 106.3 kB / 17.74 MB, free: 5.352 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.001103/0.001103, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009875/0.0009875, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2121, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01136/0.2235, allocations: 10.74 MB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007083/0.2306, allocations: 3.931 MB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.2318, allocations: 59.81 kB / 416.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004667/0.2365, allocations: 2.593 MB / 418.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.2403, allocations: 1.796 MB / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.2416, allocations: 0.6863 MB / 421.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.2459, allocations: 3.695 MB / 424.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.2497, allocations: 3.55 MB / 428.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.2516, allocations: 1.472 MB / 429.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.2542, allocations: 1.954 MB / 431.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007136/0.2549, allocations: 316 kB / 432.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.257, allocations: 1.17 MB / 433.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00174/0.2588, allocations: 1.831 MB / 435.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.2612, allocations: 2.144 MB / 437.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006738/0.268, allocations: 6.723 MB / 444.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.268, allocations: 4 kB / 444.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.268, allocations: 0 / 444.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.2682, allocations: 0 / 444.1 MB, free: 14.04 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.007832/0.276, allocations: 4.69 MB / 448.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2761, allocations: 8.031 kB / 448.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006357/0.2824, allocations: 1.905 MB / 450.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.2858, allocations: 2.021 MB / 452.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.286, allocations: 250.2 kB / 452.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007903/0.2868, allocations: 391.7 kB / 453.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.3018, allocations: 10.08 MB / 463.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-05/0.3019, allocations: 35.69 kB / 463.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/0.3023, allocations: 163.9 kB / 463.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/0.3048, allocations: 1.849 MB / 465.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.3197, allocations: 8.339 MB / 473.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/0.3603, allocations: 39.32 MB / 0.5011 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009686/0.37, allocations: 3.989 MB / 0.505 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.3718, allocations: 1.431 MB / 0.5064 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00941/0.3813, allocations: 7.648 MB / 0.5138 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3813, allocations: 51.5 kB / 0.5139 GB, free: 9.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.437e-06/0.3813, allocations: 0 / 0.5139 GB, free: 9.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02881/0.4101, allocations: 12.2 MB / 0.5258 GB, free: 12.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4102, allocations: 157.5 kB / 0.526 GB, free: 12.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.415, allocations: 3.813 MB / 0.5297 GB, free: 8.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4152, allocations: 49.7 kB / 0.5297 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.4171, allocations: 3.246 MB / 0.5329 GB, free: 5.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005409/0.4177, allocations: 0.6553 MB / 0.5335 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.4191, allocations: 1.25 MB / 0.5348 GB, free: 3.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.4192, allocations: 305.1 kB / 0.5351 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.422, allocations: 1.937 MB / 0.5369 GB, free: 1.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1795/0.6015, allocations: 5.863 MB / 0.5427 GB, free: 125.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007317/0.6088, allocations: 8.457 MB / 0.5509 GB, free: 117.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.609, allocations: 40.47 kB / 0.551 GB, free: 117.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.018/0.627, allocations: 9.524 MB / 0.5603 GB, free: 115 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.6271, allocations: 69.69 kB / 0.5603 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01012/0.6372, allocations: 3.536 MB / 0.5638 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.648, allocations: 2.614 MB / 0.5663 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.6514, allocations: 1.357 MB / 0.5677 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008054/0.6595, allocations: 7.703 MB / 0.5752 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.663, allocations: 333.8 kB / 0.5755 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.6634, allocations: 388 kB / 0.5759 GB, free: 100.6 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.002069/0.6655, allocations: 1.996 MB / 0.5778 GB, free: 98.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.6658, allocations: 345.5 kB / 0.5782 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.671, allocations: 2.845 MB / 0.5809 GB, free: 95.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.671, allocations: 7.969 kB / 0.5809 GB, free: 95.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.671, allocations: 7.844 kB / 0.5809 GB, free: 95.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.6714, allocations: 381 kB / 0.5813 GB, free: 95.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/0.6717, allocations: 32 kB / 0.5813 GB, free: 95.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6728, allocations: 95.86 kB / 0.5814 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.673, allocations: 124.7 kB / 0.5815 GB, free: 95.17 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00508/0.6781, allocations: 3.265 MB / 0.5847 GB, free: 91.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003382/0.6815, allocations: 3.745 MB / 0.5884 GB, free: 88.18 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009193/0.6824, allocations: 0.9289 MB / 0.5893 GB, free: 87.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002413/0.6849, allocations: 2.341 MB / 0.5916 GB, free: 84.92 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.6849, allocations: 0 / 0.5916 GB, free: 84.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007495/0.6924, allocations: 4.686 MB / 0.5962 GB, free: 80.22 MB / 462.1 MB Notification: Performance of SimCode: time 0.009831/0.7022, allocations: 9.366 MB / 0.6053 GB, free: 70.83 MB / 462.1 MB Notification: Performance of Templates: time 0.05894/0.7612, allocations: 43.31 MB / 0.6476 GB, free: 27.71 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)