Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.001939, allocations: 196.5 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.514/1.514, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009076/0.0009075, allocations: 87.67 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.967e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09524, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4124, allocations: 89.74 MB / 491.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4128, allocations: 82.39 kB / 491.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02936/0.4421, allocations: 9.603 MB / 0.4898 GB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4422, allocations: 2.25 kB / 0.4898 GB, free: 7.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.4422, allocations: 8 kB / 0.4898 GB, free: 7.496 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001043/0.4433, allocations: 0.5932 MB / 0.4904 GB, free: 6.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4433, allocations: 12.03 kB / 0.4904 GB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.4434, allocations: 56.86 kB / 0.4905 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.4436, allocations: 54.64 kB / 0.4905 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.444, allocations: 324.2 kB / 0.4908 GB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.4441, allocations: 45.52 kB / 0.4909 GB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.4442, allocations: 42.8 kB / 0.4909 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.4447, allocations: 295.5 kB / 0.4912 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4447, allocations: 0 / 0.4912 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.4448, allocations: 7.25 kB / 0.4912 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4448, allocations: 8 kB / 0.4912 GB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.4452, allocations: 261.7 kB / 0.4914 GB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.4469, allocations: 1.171 MB / 0.4926 GB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4474, allocations: 265.9 kB / 0.4928 GB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.4476, allocations: 148 kB / 0.493 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.4476, allocations: 4 kB / 0.493 GB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4477, allocations: 38.56 kB / 0.493 GB, free: 4.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.4477, allocations: 4 kB / 0.493 GB, free: 4.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.008268/0.4559, allocations: 2.142 MB / 0.4951 GB, free: 2.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.456, allocations: 81.11 kB / 0.4952 GB, free: 1.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.4564, allocations: 258.9 kB / 0.4954 GB, free: 1.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.4564, allocations: 33.7 kB / 0.4955 GB, free: 1.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4565, allocations: 176.4 kB / 0.4956 GB, free: 1.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.4566, allocations: 137.9 kB / 0.4958 GB, free: 1.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4567, allocations: 8 kB / 0.4958 GB, free: 1.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4568, allocations: 338.8 kB / 0.4961 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.457, allocations: 144.9 kB / 0.4962 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.4573, allocations: 195.6 kB / 0.4964 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4576, allocations: 165.5 kB / 0.4966 GB, free: 448 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4576, allocations: 0 / 0.4966 GB, free: 448 kB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005986/0.4636, allocations: 1.474 MB / 0.498 GB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.4637, allocations: 9.406 kB / 0.498 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4637, allocations: 0 / 0.498 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/0.4692, allocations: 1.042 MB / 0.4991 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.4696, allocations: 67.89 kB / 0.4991 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009983/0.4796, allocations: 4.349 MB / 0.5034 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.4801, allocations: 43.89 kB / 0.5034 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.4801, allocations: 15.98 kB / 0.5034 GB, free: 9.297 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.4803, allocations: 132.8 kB / 0.5035 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.4804, allocations: 23.72 kB / 0.5036 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.4819, allocations: 0.5977 MB / 0.5042 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4819, allocations: 8 kB / 0.5042 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4819, allocations: 0 / 0.5042 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.4819, allocations: 4.547 kB / 0.5042 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.4846, allocations: 1.233 MB / 0.5054 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4847, allocations: 0 / 0.5054 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.4851, allocations: 91.89 kB / 0.5055 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.4865, allocations: 265.2 kB / 0.5057 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.4865, allocations: 12 kB / 0.5057 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.4897, allocations: 2.131 MB / 0.5078 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4897, allocations: 0 / 0.5078 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.4915, allocations: 0.934 MB / 0.5087 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4917, allocations: 144.7 kB / 0.5089 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.4917, allocations: 17.5 kB / 0.5089 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.4922, allocations: 35.92 kB / 0.5089 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4923, allocations: 32.39 kB / 0.5089 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.4923, allocations: 15.98 kB / 0.509 GB, free: 3.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.4925, allocations: 209.4 kB / 0.5092 GB, free: 3.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4925, allocations: 4 kB / 0.5092 GB, free: 3.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000711/0.4932, allocations: 143.9 kB / 0.5093 GB, free: 3.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/0.4954, allocations: 1.604 MB / 0.5109 GB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008947/0.4963, allocations: 0.5462 MB / 0.5114 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4963, allocations: 0 / 0.5114 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.4968, allocations: 356.9 kB / 0.5117 GB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4971, allocations: 33.59 kB / 0.5118 GB, free: 456 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.4986, allocations: 0.8157 MB / 0.5126 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.499, allocations: 0.797 MB / 0.5133 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.4992, allocations: 34.97 kB / 0.5134 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4994, allocations: 115.4 kB / 0.5135 GB, free: 14.62 MB / 394.7 MB Notification: Performance of SimCode: time 2.425e-06/0.4994, allocations: 0 / 0.5135 GB, free: 14.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.5236, allocations: 11.25 MB / 0.5245 GB, free: 3.676 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5238, allocations: 202.1 kB / 0.5247 GB, free: 3.453 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.744, allocations: 2.109 kB / 0.5247 GB, free: 3.453 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat