Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009581/0.000958, allocations: 84.72 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.999e-05, allocations: 4 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5204, allocations: 84.45 MB / 486.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5207, allocations: 85.06 kB / 486.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05036/0.5711, allocations: 20.73 MB / 0.4955 GB, free: 1.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5712, allocations: 0 / 0.4955 GB, free: 1.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.5712, allocations: 8 kB / 0.4955 GB, free: 1.676 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003239/0.5745, allocations: 0.9665 MB / 0.4965 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5745, allocations: 12.03 kB / 0.4965 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.5748, allocations: 110.5 kB / 0.4966 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.5761, allocations: 183.1 kB / 0.4968 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.5764, allocations: 235.8 kB / 0.497 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.5765, allocations: 50 kB / 0.497 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.5767, allocations: 70.3 kB / 0.4971 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.578, allocations: 0.6641 MB / 0.4977 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5781, allocations: 7.984 kB / 0.4978 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.5781, allocations: 28 kB / 0.4978 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5782, allocations: 16 kB / 0.4978 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5792, allocations: 0.5469 MB / 0.4983 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.5838, allocations: 2.358 MB / 0.5006 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5861, allocations: 1.637 MB / 0.5022 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.5866, allocations: 243.8 kB / 0.5025 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.5869, allocations: 178.8 kB / 0.5026 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/0.587, allocations: 47.11 kB / 0.5027 GB, free: 9.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 4.528e-06/0.587, allocations: 0 / 0.5027 GB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001031/0.5881, allocations: 470.5 kB / 0.5031 GB, free: 9.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5882, allocations: 111.4 kB / 0.5032 GB, free: 9.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.5885, allocations: 233.1 kB / 0.5035 GB, free: 8.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.5886, allocations: 33.7 kB / 0.5035 GB, free: 8.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.5889, allocations: 267.9 kB / 0.5037 GB, free: 8.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.5891, allocations: 224.8 kB / 0.504 GB, free: 8.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.5892, allocations: 16 kB / 0.504 GB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.5895, allocations: 346.8 kB / 0.5043 GB, free: 8.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.5899, allocations: 177.6 kB / 0.5045 GB, free: 7.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.5903, allocations: 269 kB / 0.5047 GB, free: 7.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.5907, allocations: 226.1 kB / 0.5049 GB, free: 7.422 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5907, allocations: 4.75 kB / 0.5049 GB, free: 7.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001027/0.5918, allocations: 0.57 MB / 0.5055 GB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5918, allocations: 8.188 kB / 0.5055 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5918, allocations: 4 kB / 0.5055 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.5918, allocations: 7.953 kB / 0.5055 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/0.5926, allocations: 167.8 kB / 0.5057 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.5927, allocations: 7.938 kB / 0.5057 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.5932, allocations: 75.36 kB / 0.5058 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.5933, allocations: 32.55 kB / 0.5058 GB, free: 6.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.5935, allocations: 132.9 kB / 0.5059 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5936, allocations: 35.62 kB / 0.506 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5946, allocations: 0.546 MB / 0.5065 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5946, allocations: 8 kB / 0.5065 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5947, allocations: 3.953 kB / 0.5065 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5947, allocations: 6.328 kB / 0.5065 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.5968, allocations: 1.234 MB / 0.5077 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5968, allocations: 0 / 0.5077 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.5974, allocations: 127.9 kB / 0.5078 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.5975, allocations: 4 kB / 0.5078 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.5975, allocations: 16 kB / 0.5079 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5975, allocations: 4 kB / 0.5079 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5975, allocations: 0 / 0.5079 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.5989, allocations: 0.9025 MB / 0.5087 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.599, allocations: 124.5 kB / 0.5089 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.5991, allocations: 12 kB / 0.5089 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.5995, allocations: 36.03 kB / 0.5089 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5997, allocations: 44.5 kB / 0.5089 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.5997, allocations: 20 kB / 0.509 GB, free: 3.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.5999, allocations: 185.4 kB / 0.5091 GB, free: 3.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5999, allocations: 0 / 0.5091 GB, free: 3.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.6006, allocations: 191.5 kB / 0.5093 GB, free: 2.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/0.6027, allocations: 1.59 MB / 0.5109 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.6037, allocations: 488.9 kB / 0.5113 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6037, allocations: 0 / 0.5113 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.6041, allocations: 243.2 kB / 0.5116 GB, free: 496 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.6045, allocations: 39.22 kB / 0.5116 GB, free: 460 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.6068, allocations: 0.9177 MB / 0.5125 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.6074, allocations: 0.8539 MB / 0.5133 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000421/0.6078, allocations: 79.41 kB / 0.5134 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.6081, allocations: 187.4 kB / 0.5136 GB, free: 14.35 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6081, allocations: 0 / 0.5136 GB, free: 14.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.6312, allocations: 8.892 MB / 0.5223 GB, free: 5.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6315, allocations: 178.9 kB / 0.5224 GB, free: 5.512 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.038, allocations: 64 / 0.5224 GB, free: 5.512 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat