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.001166/0.001166, allocations: 97.83 kB / 16.98 MB, free: 6.398 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: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000245/0.000245, allocations: 8 kB / 306.7 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2523/0.3634, allocations: 36.1 MB / 394.3 MB, free: 328 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02546/0.3889, allocations: 9.057 MB / 403.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01087/0.3998, allocations: 176.3 kB / 403.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00721/0.4071, allocations: 1.776 MB / 405.3 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.4269, allocations: 5.226 MB / 410.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.4304, allocations: 0.5523 MB / 411.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.4355, allocations: 2.158 MB / 413.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005878/0.4414, allocations: 4.154 MB / 417.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.4432, allocations: 0.9811 MB / 418.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.4449, allocations: 1.269 MB / 419.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.4453, allocations: 140 kB / 419.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.447, allocations: 0.8581 MB / 420.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.4484, allocations: 1.484 MB / 422.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008144/0.4492, allocations: 0.8038 MB / 422.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.4545, allocations: 5.103 MB / 428 MB, free: 5.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4545, allocations: 0 / 428 MB, free: 5.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4546, allocations: 3.938 kB / 428 MB, free: 5.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001939/0.4548, allocations: 0 / 428 MB, free: 5.574 MB / 334.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.007935/0.4627, allocations: 3.813 MB / 431.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4628, allocations: 12.03 kB / 431.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001573/0.4643, allocations: 0.7234 MB / 432.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007761/0.4721, allocations: 2.272 MB / 434.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.4774, allocations: 2.059 MB / 436.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4776, allocations: 250.2 kB / 437.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00093/0.4786, allocations: 387.8 kB / 437.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.4972, allocations: 10.24 MB / 447.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.99e-05/0.4973, allocations: 35.69 kB / 447.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004281/0.4977, allocations: 155.9 kB / 448 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.5007, allocations: 1.86 MB / 449.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.5194, allocations: 8.492 MB / 458.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05967/0.5791, allocations: 39.47 MB / 497.8 MB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5908, allocations: 4.058 MB / 0.4901 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.605, allocations: 7.773 MB / 0.4977 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.6051, allocations: 59.48 kB / 0.4977 GB, free: 1.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 4.369e-06/0.6051, allocations: 0 / 0.4977 GB, free: 1.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03866/0.6438, allocations: 12.84 MB / 0.5103 GB, free: 4.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001393/0.6452, allocations: 1.604 MB / 0.5118 GB, free: 2.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/0.6526, allocations: 3.902 MB / 0.5156 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004026/0.6531, allocations: 53.69 kB / 0.5157 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.6557, allocations: 3.118 MB / 0.5187 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.6568, allocations: 0.6443 MB / 0.5194 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/0.6575, allocations: 124 kB / 0.5195 GB, free: 10.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005845/0.6581, allocations: 0.5703 MB / 0.52 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/0.6619, allocations: 2.05 MB / 0.522 GB, free: 7.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2362/0.8981, allocations: 5.951 MB / 0.5279 GB, free: 139.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007105/0.9052, allocations: 3.396 MB / 0.5312 GB, free: 139.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.9054, allocations: 41.12 kB / 0.5312 GB, free: 139.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02481/0.9302, allocations: 9.853 MB / 0.5408 GB, free: 136.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9303, allocations: 64.56 kB / 0.5409 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0121/0.9424, allocations: 3.912 MB / 0.5447 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.9546, allocations: 2.755 MB / 0.5474 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/0.9596, allocations: 1.363 MB / 0.5487 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/0.9747, allocations: 11.15 MB / 0.5596 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/0.9803, allocations: 413.4 kB / 0.56 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.9814, allocations: 387.1 kB / 0.5604 GB, free: 128.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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.003813/0.9852, allocations: 2.006 MB / 0.5624 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/0.9859, allocations: 333.8 kB / 0.5627 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.9866, allocations: 432.7 kB / 0.5631 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005142/0.9918, allocations: 2.756 MB / 0.5658 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.9918, allocations: 4 kB / 0.5658 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.9919, allocations: 12.67 kB / 0.5658 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.007, allocations: 8.642 MB / 0.5742 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/1.007, allocations: 9.062 kB / 0.5742 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/1.008, allocations: 187.7 kB / 0.5744 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004117/1.012, allocations: 1.469 MB / 0.5759 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/1.012, allocations: 35.98 kB / 0.5759 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00995/1.022, allocations: 9.42 MB / 0.5851 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007152/1.023, allocations: 1.461 MB / 0.5865 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007753/1.031, allocations: 5.459 MB / 0.5918 GB, free: 96.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.032, allocations: 396.5 kB / 0.5922 GB, free: 96.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/1.032, allocations: 37.23 kB / 0.5923 GB, free: 96.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.033, allocations: 127.8 kB / 0.5924 GB, free: 95.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/1.034, allocations: 112.8 kB / 0.5925 GB, free: 95.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.034, allocations: 42.27 kB / 0.5925 GB, free: 95.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003067/1.037, allocations: 2.416 MB / 0.5949 GB, free: 93.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.037, allocations: 0 / 0.5949 GB, free: 93.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005036/1.042, allocations: 1.108 MB / 0.596 GB, free: 92.32 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.007932/1.05, allocations: 6.289 MB / 0.6021 GB, free: 85.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009356/1.059, allocations: 5.705 MB / 0.6077 GB, free: 80.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.059, allocations: 0 / 0.6077 GB, free: 80.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.063, allocations: 2.316 MB / 0.6099 GB, free: 77.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/1.065, allocations: 365.3 kB / 0.6103 GB, free: 77.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3037/1.368, allocations: 130.4 MB / 0.7377 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/1.372, allocations: 3.212 MB / 0.7408 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004214/1.376, allocations: 1.806 MB / 0.7426 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/1.378, allocations: 1.769 MB / 0.7443 GB, free: 120.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/1.378, allocations: 0 / 0.7443 GB, free: 120.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2455/1.624, allocations: 79.82 MB / 0.8222 GB, free: 46.83 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/1.624, allocations: 224.5 kB / 0.8225 GB, free: 46.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/5.379, allocations: 0 / 0.8225 GB, free: 46.59 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