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.0007517/0.0007517, allocations: 93.16 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009133/0.0009133, allocations: 193.9 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 51.49 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2967/0.4234, allocations: 38.21 MB / 396.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02738/0.4509, allocations: 8.702 MB / 405.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.4617, allocations: 176.2 kB / 405.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00802/0.4698, allocations: 1.974 MB / 407.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02141/0.4912, allocations: 5.898 MB / 413.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.4946, allocations: 0.5618 MB / 413.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007385/0.502, allocations: 4.31 MB / 418.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007275/0.5093, allocations: 4.175 MB / 422.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.512, allocations: 1.195 MB / 423.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.5154, allocations: 1.799 MB / 425.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009449/0.5164, allocations: 140 kB / 425.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.5193, allocations: 0.8816 MB / 426.3 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.5217, allocations: 1.597 MB / 427.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.5231, allocations: 0.8038 MB / 428.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006423/0.5295, allocations: 5.11 MB / 433.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.5295, allocations: 0 / 433.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5295, allocations: 3.938 kB / 433.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.5298, allocations: 0 / 433.8 MB, free: 15.93 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008066/0.5378, allocations: 3.801 MB / 437.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5379, allocations: 8.031 kB / 437.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/0.5392, allocations: 0.7195 MB / 438.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006522/0.5458, allocations: 1.987 MB / 440.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.5508, allocations: 2.157 MB / 442.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.551, allocations: 242.2 kB / 442.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00092/0.552, allocations: 395.7 kB / 443.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.571, allocations: 10.11 MB / 453.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.5712, allocations: 43.58 kB / 453.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.5716, allocations: 159.9 kB / 453.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/0.5745, allocations: 1.853 MB / 455.3 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.5928, allocations: 8.361 MB / 463.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05012/0.6429, allocations: 39.33 MB / 0.4912 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009702/0.6527, allocations: 4.043 MB / 0.4952 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/0.6549, allocations: 1.42 MB / 0.4965 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.6663, allocations: 7.682 MB / 0.504 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.6664, allocations: 59.45 kB / 0.5041 GB, free: 10.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.358e-06/0.6664, allocations: 0 / 0.5041 GB, free: 10.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.0289/0.6953, allocations: 12.53 MB / 0.5163 GB, free: 14.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001184/0.6965, allocations: 1.593 MB / 0.5179 GB, free: 12.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/0.702, allocations: 3.797 MB / 0.5216 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.7024, allocations: 45.8 kB / 0.5216 GB, free: 8.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.7045, allocations: 3.122 MB / 0.5247 GB, free: 5.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007082/0.7052, allocations: 0.6443 MB / 0.5253 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.7054, allocations: 124 kB / 0.5254 GB, free: 4.637 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003332/0.7058, allocations: 0.5665 MB / 0.526 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.7087, allocations: 2.003 MB / 0.5279 GB, free: 2.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2883/0.9971, allocations: 5.934 MB / 0.5337 GB, free: 139.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007952/1.005, allocations: 3.349 MB / 0.537 GB, free: 139.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002115/1.005, allocations: 40 kB / 0.5371 GB, free: 139.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02371/1.029, allocations: 8.806 MB / 0.5457 GB, free: 136.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.029, allocations: 71.06 kB / 0.5457 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007227/1.037, allocations: 2.863 MB / 0.5485 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005538/1.042, allocations: 1.583 MB / 0.5501 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/1.047, allocations: 1.366 MB / 0.5514 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.057, allocations: 8.986 MB / 0.5602 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/1.063, allocations: 400.4 kB / 0.5606 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.064, allocations: 389.7 kB / 0.5609 GB, free: 129.5 MB / 446.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 (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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.00428/1.068, allocations: 2.011 MB / 0.5629 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/1.069, allocations: 327.5 kB / 0.5632 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/1.07, allocations: 435.8 kB / 0.5636 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005256/1.075, allocations: 2.754 MB / 0.5663 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.075, allocations: 3.906 kB / 0.5663 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.075, allocations: 7.266 kB / 0.5663 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/1.089, allocations: 8.645 MB / 0.5748 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.089, allocations: 7.891 kB / 0.5748 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/1.09, allocations: 187.7 kB / 0.5749 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003794/1.094, allocations: 1.471 MB / 0.5764 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.094, allocations: 35.98 kB / 0.5764 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/1.104, allocations: 9.138 MB / 0.5853 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007124/1.105, allocations: 1.463 MB / 0.5868 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/1.113, allocations: 5.386 MB / 0.592 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.114, allocations: 380.6 kB / 0.5924 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/1.114, allocations: 35.98 kB / 0.5924 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.115, allocations: 132.7 kB / 0.5926 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.115, allocations: 108.8 kB / 0.5927 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.116, allocations: 44.69 kB / 0.5927 GB, free: 100.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003239/1.119, allocations: 2.326 MB / 0.595 GB, free: 98.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.119, allocations: 4 kB / 0.595 GB, free: 98.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005539/1.124, allocations: 1.061 MB / 0.596 GB, free: 97.1 MB / 446.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.008606/1.133, allocations: 6.037 MB / 0.6019 GB, free: 91.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/1.143, allocations: 5.639 MB / 0.6074 GB, free: 85.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.143, allocations: 0 / 0.6074 GB, free: 85.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003923/1.147, allocations: 2.321 MB / 0.6097 GB, free: 82.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.15, allocations: 380.8 kB / 0.61 GB, free: 82.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0592/1.21, allocations: 33.22 MB / 0.6425 GB, free: 45.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/1.214, allocations: 3.127 MB / 0.6455 GB, free: 42.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004588/1.219, allocations: 1.804 MB / 0.6473 GB, free: 40.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00266/1.222, allocations: 1.765 MB / 0.649 GB, free: 38.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/1.222, allocations: 6.016 kB / 0.649 GB, free: 38.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3456/1.567, allocations: 76.69 MB / 0.7239 GB, free: 136.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.567, allocations: 235.9 kB / 0.7241 GB, free: 136.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/5.378, allocations: 0 / 0.7241 GB, free: 136.1 MB / 462.1 MB (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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat