Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 94.25 kB / 16.95 MB, free: 6.031 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.001049/0.001049, allocations: 179.9 kB / 17.84 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.000502, allocations: 8 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 47.58 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03689/0.1416, allocations: 38.19 MB / 366.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02252/0.1642, allocations: 8.672 MB / 375.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009263/0.1735, allocations: 179.6 kB / 375.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006465/0.18, allocations: 1.963 MB / 377.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2513/0.4314, allocations: 5.899 MB / 383.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.4346, allocations: 0.5738 MB / 383.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007357/0.442, allocations: 4.261 MB / 388.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006759/0.4488, allocations: 4.186 MB / 392.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.4513, allocations: 1.197 MB / 393.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.4543, allocations: 1.797 MB / 395.4 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.4548, allocations: 143.2 kB / 395.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.4569, allocations: 0.8987 MB / 396.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.4585, allocations: 1.599 MB / 398 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009354/0.4594, allocations: 0.8112 MB / 398.8 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00524/0.4646, allocations: 5.117 MB / 403.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4647, allocations: 0 / 403.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4647, allocations: 0 / 403.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.4649, allocations: 0 / 403.9 MB, free: 7.414 MB / 318.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.007809/0.4727, allocations: 3.809 MB / 407.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.4728, allocations: 9.781 kB / 407.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00167/0.4745, allocations: 0.7225 MB / 408.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.4807, allocations: 1.934 MB / 410.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007737/0.4884, allocations: 2.408 MB / 412.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.4889, allocations: 249.4 kB / 413.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.4907, allocations: 400.2 kB / 413.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.5092, allocations: 10.06 MB / 423.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.5094, allocations: 35.69 kB / 423.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004694/0.5099, allocations: 156.7 kB / 423.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002614/0.5125, allocations: 1.861 MB / 425.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.5296, allocations: 8.287 MB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05127/0.5809, allocations: 39.35 MB / 473.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.5911, allocations: 3.986 MB / 477.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.5936, allocations: 1.419 MB / 478.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.605, allocations: 7.608 MB / 486.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.6051, allocations: 47.56 kB / 486.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 5.641e-06/0.6051, allocations: 0 / 486.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03666/0.6418, allocations: 12.39 MB / 498.7 MB, free: 4.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001627/0.6435, allocations: 1.6 MB / 0.4885 GB, free: 3.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007763/0.6513, allocations: 3.817 MB / 0.4923 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004679/0.6518, allocations: 53.38 kB / 0.4923 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002812/0.6546, allocations: 3.116 MB / 0.4954 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.6557, allocations: 0.6432 MB / 0.496 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.6561, allocations: 127.4 kB / 0.4961 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003895/0.6565, allocations: 0.5625 MB / 0.4967 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.6599, allocations: 1.987 MB / 0.4986 GB, free: 8.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006311/0.6662, allocations: 5.909 MB / 0.5044 GB, free: 1.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005923/0.6722, allocations: 3.335 MB / 0.5076 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.6723, allocations: 40 kB / 0.5077 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0211/0.6934, allocations: 8.715 MB / 0.5162 GB, free: 4.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.6937, allocations: 68.97 kB / 0.5162 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007121/0.7009, allocations: 2.79 MB / 0.519 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005139/0.7061, allocations: 1.547 MB / 0.5205 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/0.711, allocations: 1.365 MB / 0.5218 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/0.7178, allocations: 5.516 MB / 0.5272 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/0.7234, allocations: 398.6 kB / 0.5276 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/0.725, allocations: 389.7 kB / 0.5279 GB, free: 8.594 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.005377/0.7304, allocations: 2.013 MB / 0.5299 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009904/0.7314, allocations: 331.7 kB / 0.5302 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007669/0.739, allocations: 3.117 MB / 0.5333 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005555/0.7446, allocations: 2.681 MB / 0.5359 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/0.7447, allocations: 0 / 0.5359 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/0.7447, allocations: 15.92 kB / 0.5359 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.227/0.9718, allocations: 8.549 MB / 0.5443 GB, free: 156.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.9718, allocations: 1.75 kB / 0.5443 GB, free: 156.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.9727, allocations: 191.4 kB / 0.5444 GB, free: 156.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00443/0.9772, allocations: 1.448 MB / 0.5458 GB, free: 156.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.9774, allocations: 36.41 kB / 0.5459 GB, free: 156.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.9831, allocations: 5.696 MB / 0.5514 GB, free: 152.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007852/0.984, allocations: 1.46 MB / 0.5529 GB, free: 151.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008414/0.9924, allocations: 5.291 MB / 0.558 GB, free: 149.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.9935, allocations: 380 kB / 0.5584 GB, free: 149.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/0.9939, allocations: 33.16 kB / 0.5584 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.9951, allocations: 131.4 kB / 0.5586 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.9953, allocations: 90.44 kB / 0.5586 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.9954, allocations: 44.12 kB / 0.5587 GB, free: 149.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003328/0.9988, allocations: 2.333 MB / 0.561 GB, free: 148.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9988, allocations: 7.438 kB / 0.561 GB, free: 148.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00538/1.004, allocations: 1.004 MB / 0.562 GB, free: 148.5 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.007267/1.011, allocations: 5.752 MB / 0.5676 GB, free: 146.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009581/1.021, allocations: 5.358 MB / 0.5728 GB, free: 143.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.021, allocations: 0 / 0.5728 GB, free: 143.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/1.024, allocations: 2.018 MB / 0.5748 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.028, allocations: 388 kB / 0.5751 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05877/1.087, allocations: 33.13 MB / 0.6075 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004956/1.092, allocations: 3.111 MB / 0.6105 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004478/1.096, allocations: 1.803 MB / 0.6123 GB, free: 99.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/1.099, allocations: 1.765 MB / 0.614 GB, free: 97.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/1.099, allocations: 0 / 0.614 GB, free: 97.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.209, allocations: 73.59 MB / 0.6859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.209, allocations: 234.1 kB / 0.6861 GB, free: 23.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.012/5.221, allocations: 0 / 0.6861 GB, free: 23.92 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat does not exist to compare? outputFormat=mat