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.001887/0.001887, allocations: 199 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.312/1.312, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008337, allocations: 101.1 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002056, allocations: 7.984 kB / 358 MB, free: 9.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0964/0.2945, allocations: 83.42 MB / 492.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.2948, allocations: 96.69 kB / 493 MB, free: 7.094 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04869/0.3435, allocations: 22.09 MB / 0.503 GB, free: 0.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.765e-06/0.3435, allocations: 0 / 0.503 GB, free: 0.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.3435, allocations: 19.88 kB / 0.5031 GB, free: 0.7305 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.1727/0.5162, allocations: 1.006 MB / 0.504 GB, free: 85.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.5163, allocations: 9.344 kB / 0.5041 GB, free: 85.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003754/0.5167, allocations: 120.1 kB / 0.5042 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.5183, allocations: 212.4 kB / 0.5044 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.5186, allocations: 231.9 kB / 0.5046 GB, free: 84.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.5186, allocations: 57.66 kB / 0.5047 GB, free: 84.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5188, allocations: 74.83 kB / 0.5047 GB, free: 84.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5203, allocations: 0.7743 MB / 0.5055 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.5204, allocations: 1.812 kB / 0.5055 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.5204, allocations: 32 kB / 0.5055 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.5205, allocations: 18.03 kB / 0.5055 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.5219, allocations: 0.6895 MB / 0.5062 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5259, allocations: 3.312 MB / 0.5094 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.5279, allocations: 2.08 MB / 0.5115 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.5281, allocations: 180.7 kB / 0.5116 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5281, allocations: 46.03 kB / 0.5117 GB, free: 81.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.766e-06/0.5281, allocations: 0 / 0.5117 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002547/0.5307, allocations: 1.155 MB / 0.5128 GB, free: 80.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5307, allocations: 115.6 kB / 0.5129 GB, free: 80.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.5309, allocations: 249 kB / 0.5132 GB, free: 80.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.531, allocations: 37.3 kB / 0.5132 GB, free: 80.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5311, allocations: 291.2 kB / 0.5135 GB, free: 80.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.5312, allocations: 246 kB / 0.5137 GB, free: 80.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.5313, allocations: 20.16 kB / 0.5137 GB, free: 80.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.5314, allocations: 348.5 kB / 0.5141 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.5318, allocations: 243.9 kB / 0.5143 GB, free: 80.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.5323, allocations: 397.6 kB / 0.5147 GB, free: 79.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5328, allocations: 296.9 kB / 0.515 GB, free: 79.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5328, allocations: 4 kB / 0.515 GB, free: 79.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00131/0.5341, allocations: 0.8424 MB / 0.5158 GB, free: 79.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5342, allocations: 10.73 kB / 0.5158 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.5342, allocations: 6.531 kB / 0.5158 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.5345, allocations: 122.1 kB / 0.5159 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.5352, allocations: 165.7 kB / 0.5161 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.537, allocations: 3.164 MB / 0.5192 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.5375, allocations: 93.36 kB / 0.5192 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.5376, allocations: 31.47 kB / 0.5193 GB, free: 77.2 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002313/0.5378, allocations: 201.3 kB / 0.5195 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.5379, allocations: 48.84 kB / 0.5195 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.5392, allocations: 0.7631 MB / 0.5203 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5393, allocations: 7.812 kB / 0.5203 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5393, allocations: 3.938 kB / 0.5203 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5393, allocations: 7.328 kB / 0.5203 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.5412, allocations: 1.456 MB / 0.5217 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5412, allocations: 4 kB / 0.5217 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.5417, allocations: 115.5 kB / 0.5218 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.5419, allocations: 106.1 kB / 0.5219 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.542, allocations: 19.44 kB / 0.5219 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.5437, allocations: 3.157 MB / 0.525 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5438, allocations: 3 kB / 0.525 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.5453, allocations: 1.168 MB / 0.5262 GB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.5454, allocations: 122.7 kB / 0.5263 GB, free: 72.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.5455, allocations: 19.81 kB / 0.5263 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.5458, allocations: 40.39 kB / 0.5263 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.5459, allocations: 53.28 kB / 0.5264 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.546, allocations: 18.25 kB / 0.5264 GB, free: 72.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.5461, allocations: 192.5 kB / 0.5266 GB, free: 72.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5461, allocations: 0 / 0.5266 GB, free: 72.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006605/0.5468, allocations: 234.9 kB / 0.5268 GB, free: 72.45 MB / 378.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 () * Number of clocked 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.001922/0.5487, allocations: 1.853 MB / 0.5286 GB, free: 71.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.5501, allocations: 0.8942 MB / 0.5295 GB, free: 70.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5501, allocations: 0 / 0.5295 GB, free: 70.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.5508, allocations: 0.5762 MB / 0.5301 GB, free: 70.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.5511, allocations: 28.05 kB / 0.5301 GB, free: 70.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.5557, allocations: 5.496 MB / 0.5355 GB, free: 66.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5559, allocations: 0.8837 MB / 0.5363 GB, free: 65.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.5563, allocations: 81.11 kB / 0.5364 GB, free: 65.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.5566, allocations: 193.3 kB / 0.5366 GB, free: 65.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5566, allocations: 0 / 0.5366 GB, free: 65.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.5771, allocations: 9.817 MB / 0.5462 GB, free: 60.49 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.5773, allocations: 238.5 kB / 0.5464 GB, free: 60.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.728, allocations: 0 / 0.5464 GB, free: 60.23 MB / 378.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