Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 114.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2392, allocations: 50.54 MB / 409.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.007931/0.2472, allocations: 7.401 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.2525, allocations: 3.246 MB / 420.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.2532, allocations: 35.88 kB / 420.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.2551, allocations: 1.031 MB / 421.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.2578, allocations: 1.335 MB / 423 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.2586, allocations: 455.1 kB / 423.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.2614, allocations: 2.668 MB / 426.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2629, allocations: 1.52 MB / 427.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007546/0.2636, allocations: 0.8407 MB / 428.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.2649, allocations: 1.219 MB / 429.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.2652, allocations: 175.9 kB / 429.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.2666, allocations: 1.006 MB / 430.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008361/0.2675, allocations: 1.095 MB / 432 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009952/0.2685, allocations: 1.285 MB / 433.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.2721, allocations: 4.326 MB / 437.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2721, allocations: 4 kB / 437.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2721, allocations: 0 / 437.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.2721, allocations: 0 / 437.6 MB, free: 5.977 MB / 350.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.004672/0.2768, allocations: 3.028 MB / 440.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2768, allocations: 11.97 kB / 440.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/0.2835, allocations: 1.779 MB / 442.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.2861, allocations: 1.378 MB / 443.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2862, allocations: 139.3 kB / 443.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006002/0.2868, allocations: 255.6 kB / 444.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008964/0.2957, allocations: 6.668 MB / 450.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.078e-05/0.2958, allocations: 35.64 kB / 450.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.2961, allocations: 87.89 kB / 450.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002026/0.2981, allocations: 1.367 MB / 452.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.3086, allocations: 6.045 MB / 458.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/0.3353, allocations: 25.52 MB / 483.9 MB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006763/0.3421, allocations: 2.673 MB / 486.6 MB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3435, allocations: 1.036 MB / 487.6 MB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005596/0.3491, allocations: 3.986 MB / 491.6 MB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3491, allocations: 43.12 kB / 491.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.547e-06/0.3491, allocations: 0 / 491.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=119): time 0.02449/0.3736, allocations: 9.82 MB / 0.4897 GB, free: 4.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.3737, allocations: 137.4 kB / 0.4898 GB, free: 4.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.377, allocations: 2.717 MB / 0.4925 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.3771, allocations: 41.7 kB / 0.4925 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.3784, allocations: 2.087 MB / 0.4945 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.3788, allocations: 493.9 kB / 0.495 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.3798, allocations: 0.9007 MB / 0.4959 GB, free: 13.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.3799, allocations: 301.1 kB / 0.4962 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.3822, allocations: 1.562 MB / 0.4977 GB, free: 11.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/0.3862, allocations: 4.354 MB / 0.502 GB, free: 6.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/0.393, allocations: 6.394 MB / 0.5082 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-05/0.393, allocations: 32 kB / 0.5082 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01826/0.4113, allocations: 7.851 MB / 0.5159 GB, free: 6.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.4114, allocations: 50.66 kB / 0.5159 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01144/0.4228, allocations: 3.353 MB / 0.5192 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.435, allocations: 2.678 MB / 0.5218 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.4377, allocations: 0.9942 MB / 0.5228 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.4522, allocations: 9.732 MB / 0.5323 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.4549, allocations: 271.7 kB / 0.5326 GB, free: 5.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.4553, allocations: 280 kB / 0.5328 GB, free: 4.738 MB / 462.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 (542): * Single equations (assignments): 536 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001821/0.4571, allocations: 1.415 MB / 0.5342 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.4575, allocations: 228.9 kB / 0.5344 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.4581, allocations: 329.8 kB / 0.5348 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4581, allocations: 7.969 kB / 0.5348 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4581, allocations: 0 / 0.5348 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.4585, allocations: 278.1 kB / 0.535 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.4587, allocations: 39.95 kB / 0.5351 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.4597, allocations: 83.88 kB / 0.5351 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.46, allocations: 88.31 kB / 0.5352 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1772/0.6372, allocations: 2.871 MB / 0.538 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004293/0.6415, allocations: 3.285 MB / 0.5412 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009001/0.6425, allocations: 0.8392 MB / 0.5421 GB, free: 122 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002088/0.6446, allocations: 1.691 MB / 0.5437 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Backend: time 5.91e-07/0.6446, allocations: 0 / 0.5437 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.6512, allocations: 3.71 MB / 0.5473 GB, free: 120 MB / 462.1 MB Notification: Performance of SimCode: time 0.006617/0.6578, allocations: 6.58 MB / 0.5538 GB, free: 116.9 MB / 462.1 MB Notification: Performance of Templates: time 0.0428/0.7006, allocations: 34.68 MB / 0.5876 GB, free: 84.52 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)