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.001414/0.001414, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008395/0.0008396, allocations: 113 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002436, allocations: 8 kB / 358 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09482/0.3108, allocations: 84.51 MB / 494 MB, free: 6.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.3111, allocations: 87.94 kB / 494.1 MB, free: 6.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04727/0.3584, allocations: 20.8 MB / 0.5028 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3584, allocations: 0 / 0.5028 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.3585, allocations: 12 kB / 0.5028 GB, free: 0.9688 MB / 378.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.1659/0.5244, allocations: 0.9793 MB / 0.5038 GB, free: 85.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5244, allocations: 10.12 kB / 0.5038 GB, free: 85.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003094/0.5248, allocations: 114.4 kB / 0.5039 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.5261, allocations: 185.4 kB / 0.5041 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.5263, allocations: 232.1 kB / 0.5043 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.5263, allocations: 50.47 kB / 0.5044 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5265, allocations: 69.98 kB / 0.5044 GB, free: 85.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5278, allocations: 0.7086 MB / 0.5051 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5279, allocations: 4.562 kB / 0.5051 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.5279, allocations: 31.92 kB / 0.5052 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.528, allocations: 16.25 kB / 0.5052 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.5293, allocations: 0.6271 MB / 0.5058 GB, free: 85.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.5325, allocations: 2.359 MB / 0.5081 GB, free: 84.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5341, allocations: 1.682 MB / 0.5097 GB, free: 83.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.5343, allocations: 179.5 kB / 0.5099 GB, free: 83.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5343, allocations: 44.88 kB / 0.5099 GB, free: 83.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.5343, allocations: 0 / 0.5099 GB, free: 83.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001754/0.5361, allocations: 0.7278 MB / 0.5107 GB, free: 83.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.5361, allocations: 113.7 kB / 0.5108 GB, free: 83.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5364, allocations: 238.2 kB / 0.511 GB, free: 83.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.5365, allocations: 37.89 kB / 0.511 GB, free: 83.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5366, allocations: 260.9 kB / 0.5113 GB, free: 82.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.5368, allocations: 224.4 kB / 0.5115 GB, free: 82.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.5368, allocations: 14.44 kB / 0.5115 GB, free: 82.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.5369, allocations: 347.9 kB / 0.5118 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.5374, allocations: 223.2 kB / 0.5121 GB, free: 82.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.538, allocations: 314.6 kB / 0.5124 GB, free: 82.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.5384, allocations: 258.6 kB / 0.5126 GB, free: 82.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5384, allocations: 0 / 0.5126 GB, free: 82.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001085/0.5395, allocations: 0.6523 MB / 0.5132 GB, free: 82.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5396, allocations: 3.625 kB / 0.5132 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5396, allocations: 2.938 kB / 0.5132 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5396, allocations: 3.219 kB / 0.5132 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.5403, allocations: 171.3 kB / 0.5134 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5403, allocations: 3.719 kB / 0.5134 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.5408, allocations: 85.64 kB / 0.5135 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.5409, allocations: 18.69 kB / 0.5135 GB, free: 82.24 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 () * Number of clocked 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.0002217/0.5411, allocations: 188.1 kB / 0.5137 GB, free: 82.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.5412, allocations: 41.75 kB / 0.5137 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.5423, allocations: 0.6169 MB / 0.5143 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5423, allocations: 10.61 kB / 0.5143 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5423, allocations: 3.953 kB / 0.5143 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5423, allocations: 3.656 kB / 0.5143 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.5441, allocations: 1.294 MB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.5441, allocations: 3.953 kB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.5446, allocations: 136.9 kB / 0.5157 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5446, allocations: 5.531 kB / 0.5158 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.5447, allocations: 10.38 kB / 0.5158 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5447, allocations: 3.25 kB / 0.5158 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5447, allocations: 0 / 0.5158 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.5461, allocations: 1.022 MB / 0.5168 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.5461, allocations: 125.5 kB / 0.5169 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.5462, allocations: 14.53 kB / 0.5169 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.5466, allocations: 33.28 kB / 0.5169 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.5467, allocations: 39.33 kB / 0.517 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.5467, allocations: 19.66 kB / 0.517 GB, free: 81.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.5469, allocations: 190.2 kB / 0.5172 GB, free: 81.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5469, allocations: 0 / 0.5172 GB, free: 81.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.5475, allocations: 197.8 kB / 0.5174 GB, free: 81.16 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 () * Number of clocked 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.001696/0.5492, allocations: 1.69 MB / 0.519 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009411/0.5501, allocations: 0.549 MB / 0.5195 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5501, allocations: 0 / 0.5195 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.5506, allocations: 286.6 kB / 0.5198 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5509, allocations: 44.75 kB / 0.5199 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5548, allocations: 3.694 MB / 0.5235 GB, free: 77.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.555, allocations: 0.8573 MB / 0.5243 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.5555, allocations: 79.88 kB / 0.5244 GB, free: 76.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.5557, allocations: 188.3 kB / 0.5246 GB, free: 76.49 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5557, allocations: 0 / 0.5246 GB, free: 76.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.574, allocations: 8.57 MB / 0.5329 GB, free: 74.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.5742, allocations: 213.5 kB / 0.5331 GB, free: 73.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.606, allocations: 0 / 0.5331 GB, free: 73.97 MB / 378.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