Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009895/0.0009891, allocations: 171.2 kB / 14.1 MB, free: 1.219 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009405/0.0009408, allocations: 90.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.447e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08753, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4005, allocations: 86.1 MB / 456.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.4008, allocations: 80.02 kB / 456.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.4273, allocations: 9.288 MB / 465.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4274, allocations: 4 kB / 465.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4274, allocations: 4 kB / 465.6 MB, free: 15.18 MB / 346.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.0009517/0.4283, allocations: 0.597 MB / 466.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4284, allocations: 8.031 kB / 466.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.4285, allocations: 65.34 kB / 466.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.4285, allocations: 39.53 kB / 466.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.4289, allocations: 321.4 kB / 466.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.429, allocations: 53.88 kB / 466.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.4292, allocations: 31.56 kB / 466.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.4296, allocations: 294.2 kB / 467 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4296, allocations: 0 / 467 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4297, allocations: 15.98 kB / 467 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4297, allocations: 4 kB / 467 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.4302, allocations: 262.1 kB / 467.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.4318, allocations: 1.179 MB / 468.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.4322, allocations: 267.2 kB / 468.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4324, allocations: 149.7 kB / 468.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4324, allocations: 4 kB / 468.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4324, allocations: 42.5 kB / 468.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.4325, allocations: 0 / 468.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.007685/0.4401, allocations: 2.151 MB / 471 MB, free: 9.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4402, allocations: 89.05 kB / 471.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.4405, allocations: 264.9 kB / 471.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.4406, allocations: 33.7 kB / 471.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.4407, allocations: 160.5 kB / 471.6 MB, free: 9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4408, allocations: 145.9 kB / 471.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.4408, allocations: 12 kB / 471.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4409, allocations: 338.8 kB / 472.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.4412, allocations: 140.9 kB / 472.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.4415, allocations: 197.8 kB / 472.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.4417, allocations: 165.6 kB / 472.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4417, allocations: 0 / 472.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005827/0.4476, allocations: 1.474 MB / 474 MB, free: 6.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4476, allocations: 4 kB / 474 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4476, allocations: 0 / 474 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005375/0.453, allocations: 1.041 MB / 475.1 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.4533, allocations: 59.91 kB / 475.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/0.4631, allocations: 4.337 MB / 479.5 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.4636, allocations: 43.97 kB / 479.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.4636, allocations: 16 kB / 479.5 MB, free: 0.8594 MB / 346.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.0001275/0.4638, allocations: 136.8 kB / 479.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.4639, allocations: 31.62 kB / 479.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4653, allocations: 0.5977 MB / 480.3 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4653, allocations: 7.984 kB / 480.3 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.4653, allocations: 0 / 480.3 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4654, allocations: 7.938 kB / 480.3 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.468, allocations: 1.22 MB / 481.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4681, allocations: 0 / 481.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4685, allocations: 95.88 kB / 481.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.4699, allocations: 264.5 kB / 481.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4699, allocations: 19.98 kB / 481.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.473, allocations: 2.135 MB / 484 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.473, allocations: 0 / 484 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.4747, allocations: 0.9262 MB / 485 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.4749, allocations: 152.7 kB / 485.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.4749, allocations: 11.98 kB / 485.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.4754, allocations: 31.94 kB / 485.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4755, allocations: 40.38 kB / 485.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.4755, allocations: 12 kB / 485.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.4757, allocations: 209.4 kB / 485.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4757, allocations: 4 kB / 485.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006284/0.4764, allocations: 143.9 kB / 485.6 MB, free: 10.58 MB / 362.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.002141/0.4785, allocations: 1.587 MB / 487.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009125/0.4795, allocations: 0.5543 MB / 487.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4795, allocations: 4 kB / 487.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.4799, allocations: 352.8 kB / 488 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4803, allocations: 36.88 kB / 488.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.4819, allocations: 0.8102 MB / 488.9 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4822, allocations: 0.8048 MB / 489.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.4824, allocations: 30.97 kB / 489.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4826, allocations: 115.4 kB / 489.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4826, allocations: 0 / 489.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.5087, allocations: 11.25 MB / 0.4893 GB, free: 10.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.5089, allocations: 201.6 kB / 0.4895 GB, free: 10.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.624, allocations: 0 / 0.4895 GB, free: 10.68 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat does not exist to compare? outputFormat=mat