Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01316/0.3083, allocations: 10.7 MB / 419.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008831/0.3172, allocations: 3.951 MB / 423.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.3193, allocations: 67.75 kB / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005843/0.3253, allocations: 2.57 MB / 426 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.3307, allocations: 1.723 MB / 427.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.3328, allocations: 0.6824 MB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006454/0.3393, allocations: 3.716 MB / 432.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.3446, allocations: 3.556 MB / 435.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.348, allocations: 1.468 MB / 437.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/0.3517, allocations: 1.954 MB / 439.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.3531, allocations: 316 kB / 439.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.3562, allocations: 1.139 MB / 440.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002605/0.3588, allocations: 1.816 MB / 442.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003801/0.3626, allocations: 2.12 MB / 444.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009652/0.3723, allocations: 6.649 MB / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.3724, allocations: 0 / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3724, allocations: 0 / 451.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.3727, allocations: 0 / 451.2 MB, free: 6.926 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.01194/0.3846, allocations: 4.558 MB / 455.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3847, allocations: 12.03 kB / 455.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001684/0.3864, allocations: 0.7158 MB / 456.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007722/0.3941, allocations: 1.945 MB / 458.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.3999, allocations: 2.223 MB / 460.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.4002, allocations: 246.2 kB / 460.9 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.4018, allocations: 387.8 kB / 461.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.4231, allocations: 10.12 MB / 471.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4233, allocations: 39.69 kB / 471.4 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009348/0.4242, allocations: 151.9 kB / 471.6 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.4272, allocations: 1.864 MB / 473.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.445, allocations: 8.355 MB / 481.8 MB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05299/0.4981, allocations: 39.21 MB / 0.5088 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.5094, allocations: 4.038 MB / 0.5127 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.5119, allocations: 1.423 MB / 0.5141 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.5258, allocations: 7.69 MB / 0.5216 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.5259, allocations: 47.56 kB / 0.5217 GB, free: 1.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.69e-06/0.5259, allocations: 0 / 0.5217 GB, free: 1.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03535/0.5613, allocations: 12.5 MB / 0.5339 GB, free: 4.551 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0016/0.5629, allocations: 1.684 MB / 0.5355 GB, free: 2.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2633/0.8263, allocations: 3.807 MB / 0.5392 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004861/0.8268, allocations: 50.17 kB / 0.5393 GB, free: 124.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003488/0.8303, allocations: 3.112 MB / 0.5423 GB, free: 122.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.8315, allocations: 0.651 MB / 0.5429 GB, free: 122 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003189/0.8348, allocations: 1.258 MB / 0.5442 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.8348, allocations: 304.9 kB / 0.5445 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.8379, allocations: 2.015 MB / 0.5464 GB, free: 120.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005466/0.8434, allocations: 5.954 MB / 0.5522 GB, free: 114.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00809/0.8516, allocations: 8.598 MB / 0.5606 GB, free: 107.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/0.8518, allocations: 46.88 kB / 0.5607 GB, free: 107.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01761/0.8694, allocations: 8.815 MB / 0.5693 GB, free: 101.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.8696, allocations: 67.94 kB / 0.5694 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006084/0.8757, allocations: 2.844 MB / 0.5721 GB, free: 99.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.8809, allocations: 1.56 MB / 0.5737 GB, free: 97.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/0.8851, allocations: 1.361 MB / 0.575 GB, free: 96.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.8962, allocations: 9.626 MB / 0.5844 GB, free: 86.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005289/0.9015, allocations: 403.3 kB / 0.5848 GB, free: 85.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.9027, allocations: 387.7 kB / 0.5851 GB, free: 85.36 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 (738): * Single equations (assignments): 728 * Array equations: 5 * 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 {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003634/0.9063, allocations: 2.009 MB / 0.5871 GB, free: 83.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000761/0.9071, allocations: 327.8 kB / 0.5874 GB, free: 83.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.908, allocations: 432.5 kB / 0.5878 GB, free: 82.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00552/0.9136, allocations: 2.742 MB / 0.5905 GB, free: 79.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.9136, allocations: 7.938 kB / 0.5905 GB, free: 79.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.9137, allocations: 3.984 kB / 0.5905 GB, free: 79.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.9303, allocations: 8.606 MB / 0.5989 GB, free: 71.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.9304, allocations: 7.938 kB / 0.5989 GB, free: 71.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.9313, allocations: 187.7 kB / 0.5991 GB, free: 70.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004382/0.9357, allocations: 1.455 MB / 0.6005 GB, free: 69.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/0.9361, allocations: 39.97 kB / 0.6006 GB, free: 69.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.9471, allocations: 9.807 MB / 0.6102 GB, free: 59.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008112/0.948, allocations: 1.551 MB / 0.6117 GB, free: 57.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008811/0.9568, allocations: 5.376 MB / 0.6169 GB, free: 52.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.9581, allocations: 372.7 kB / 0.6173 GB, free: 51.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008132/0.9589, allocations: 31.94 kB / 0.6173 GB, free: 51.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.9609, allocations: 123.8 kB / 0.6174 GB, free: 51.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004744/0.9613, allocations: 108.8 kB / 0.6175 GB, free: 51.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.9615, allocations: 47.97 kB / 0.6176 GB, free: 51.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0036/0.9651, allocations: 2.341 MB / 0.6199 GB, free: 49.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9651, allocations: 0 / 0.6199 GB, free: 49.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005542/0.9707, allocations: 1.045 MB / 0.6209 GB, free: 48.06 MB / 462.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 (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 {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009144/0.9799, allocations: 6.023 MB / 0.6268 GB, free: 42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009268/0.9892, allocations: 5.732 MB / 0.6324 GB, free: 36.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9893, allocations: 3.984 kB / 0.6324 GB, free: 36.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.9934, allocations: 2.324 MB / 0.6346 GB, free: 33.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.9968, allocations: 406.9 kB / 0.635 GB, free: 33.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0769/1.074, allocations: 45.34 MB / 0.6793 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006125/1.08, allocations: 3.131 MB / 0.6823 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004718/1.085, allocations: 1.796 MB / 0.6841 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/1.088, allocations: 1.765 MB / 0.6858 GB, free: 7.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/1.088, allocations: 0 / 0.6858 GB, free: 7.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5393/1.627, allocations: 70.85 MB / 0.755 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.17/25.8, allocations: 17.58 kB / 0.755 GB, free: 187.4 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)