Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 196.1 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.345/1.345, 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.001047/0.001047, allocations: 94.03 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.889e-05/5.935e-05, allocations: 4 kB / 350.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.5093, allocations: 83.37 MB / 485.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5096, allocations: 82.2 kB / 485.6 MB, free: 5.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05459/0.5642, allocations: 22.02 MB / 0.4957 GB, free: 1.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5643, allocations: 0 / 0.4957 GB, free: 1.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.5643, allocations: 8 kB / 0.4957 GB, free: 1.355 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003415/0.5677, allocations: 0.9938 MB / 0.4967 GB, free: 332 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5678, allocations: 8.031 kB / 0.4967 GB, free: 324 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/0.5681, allocations: 122.6 kB / 0.4968 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.5696, allocations: 211 kB / 0.497 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.5699, allocations: 235 kB / 0.4972 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.57, allocations: 63.52 kB / 0.4973 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.5702, allocations: 72 kB / 0.4974 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5718, allocations: 0.7267 MB / 0.4981 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5718, allocations: 0 / 0.4981 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/0.5719, allocations: 32 kB / 0.4981 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.5719, allocations: 20 kB / 0.4981 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.5731, allocations: 0.6104 MB / 0.4987 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.5784, allocations: 3.318 MB / 0.502 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.5808, allocations: 2.036 MB / 0.504 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.5814, allocations: 297.3 kB / 0.5042 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.5816, allocations: 183 kB / 0.5044 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.5817, allocations: 43.34 kB / 0.5045 GB, free: 7.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.5817, allocations: 0.6562 kB / 0.5045 GB, free: 7.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001258/0.583, allocations: 0.5989 MB / 0.505 GB, free: 7.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.5831, allocations: 115.5 kB / 0.5051 GB, free: 6.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.5834, allocations: 238.8 kB / 0.5054 GB, free: 6.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.5835, allocations: 37.7 kB / 0.5054 GB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.5838, allocations: 295.5 kB / 0.5057 GB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.584, allocations: 248.4 kB / 0.5059 GB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.584, allocations: 12.66 kB / 0.5059 GB, free: 6.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5842, allocations: 358.8 kB / 0.5063 GB, free: 5.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.5846, allocations: 194 kB / 0.5065 GB, free: 5.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.5852, allocations: 354.2 kB / 0.5068 GB, free: 5.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.5856, allocations: 250 kB / 0.507 GB, free: 4.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5856, allocations: 0 / 0.507 GB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001361/0.587, allocations: 0.7747 MB / 0.5078 GB, free: 4.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.587, allocations: 8.562 kB / 0.5078 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5871, allocations: 4 kB / 0.5078 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.5875, allocations: 129.6 kB / 0.5079 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.5882, allocations: 155.8 kB / 0.5081 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.5918, allocations: 3.409 MB / 0.5114 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.5926, allocations: 99.16 kB / 0.5115 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5927, allocations: 28.22 kB / 0.5115 GB, free: 0 / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.593, allocations: 144.8 kB / 0.5117 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.5932, allocations: 47.42 kB / 0.5117 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.5947, allocations: 0.6973 MB / 0.5124 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.5947, allocations: 8 kB / 0.5124 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5947, allocations: 4 kB / 0.5124 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5947, allocations: 3.984 kB / 0.5124 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.5973, allocations: 1.445 MB / 0.5138 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.5974, allocations: 7.984 kB / 0.5138 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.5979, allocations: 115.9 kB / 0.5139 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003036/0.5982, allocations: 110.7 kB / 0.5141 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.5983, allocations: 12 kB / 0.5141 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.601, allocations: 3.095 MB / 0.5171 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.601, allocations: 7.984 kB / 0.5171 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.6026, allocations: 1.061 MB / 0.5181 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.6028, allocations: 128.5 kB / 0.5183 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.6029, allocations: 12.06 kB / 0.5183 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.6033, allocations: 35.98 kB / 0.5183 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6034, allocations: 52.7 kB / 0.5183 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.6035, allocations: 19.98 kB / 0.5184 GB, free: 8.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.6037, allocations: 191.1 kB / 0.5185 GB, free: 8.422 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6037, allocations: 0 / 0.5185 GB, free: 8.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.6046, allocations: 223.5 kB / 0.5188 GB, free: 8.203 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/0.6067, allocations: 1.75 MB / 0.5205 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.6083, allocations: 0.827 MB / 0.5213 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6083, allocations: 0 / 0.5213 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007202/0.609, allocations: 0.5326 MB / 0.5218 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.6095, allocations: 25.69 kB / 0.5218 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.6118, allocations: 0.9386 MB / 0.5227 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.6123, allocations: 0.8785 MB / 0.5236 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.6128, allocations: 84.36 kB / 0.5237 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.6131, allocations: 191.4 kB / 0.5239 GB, free: 2.832 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6131, allocations: 0 / 0.5239 GB, free: 2.832 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.6427, allocations: 10.22 MB / 0.5338 GB, free: 8.902 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.643, allocations: 205.5 kB / 0.534 GB, free: 8.676 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.069, allocations: 0 / 0.534 GB, free: 8.676 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat