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.001035/0.001036, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.294/1.294, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009004/0.0009004, allocations: 98.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09241/0.2981, allocations: 86.2 MB / 462.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.2984, allocations: 87.95 kB / 462.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02924/0.3277, allocations: 9.292 MB / 471.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3277, allocations: 0 / 471.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.3278, allocations: 8 kB / 471.5 MB, free: 1.02 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.001584/0.3294, allocations: 0.6588 MB / 472.2 MB, free: 320 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3294, allocations: 12.03 kB / 472.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.3295, allocations: 62.53 kB / 472.2 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3297, allocations: 31.62 kB / 472.3 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.3302, allocations: 324 kB / 472.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/0.3303, allocations: 54.25 kB / 472.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.3305, allocations: 35.98 kB / 472.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.3312, allocations: 320.4 kB / 473 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3313, allocations: 7.906 kB / 473 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.3313, allocations: 16 kB / 473 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3313, allocations: 4 kB / 473 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.332, allocations: 306 kB / 473.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.334, allocations: 1.177 MB / 474.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.3346, allocations: 305.5 kB / 474.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3346, allocations: 4 kB / 474.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3347, allocations: 42.56 kB / 474.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.3347, allocations: 0 / 474.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.01262/0.3473, allocations: 2.831 MB / 477.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.3474, allocations: 89.09 kB / 477.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.3478, allocations: 256.2 kB / 478 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.3479, allocations: 33.7 kB / 478 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.348, allocations: 172.4 kB / 478.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3481, allocations: 141.9 kB / 478.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3482, allocations: 4 kB / 478.3 MB, free: 9.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3483, allocations: 342.8 kB / 478.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.3488, allocations: 172.8 kB / 478.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.3492, allocations: 229.8 kB / 479.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.3497, allocations: 193.5 kB / 479.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3497, allocations: 0 / 479.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001079/0.3508, allocations: 497 kB / 479.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3508, allocations: 8 kB / 479.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3508, allocations: 0 / 479.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3508, allocations: 7.953 kB / 479.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.3515, allocations: 119.9 kB / 479.9 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3515, allocations: 4 kB / 479.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.352, allocations: 39.97 kB / 479.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3521, allocations: 19.94 kB / 479.9 MB, free: 8.219 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002113/0.3523, allocations: 157.7 kB / 480.1 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3524, allocations: 31.62 kB / 480.1 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.355, allocations: 0.7266 MB / 480.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.355, allocations: 8 kB / 480.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3551, allocations: 0 / 480.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.3551, allocations: 3.984 kB / 480.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.3587, allocations: 1.318 MB / 482.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3587, allocations: 0 / 482.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.3593, allocations: 91.89 kB / 482.3 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.3613, allocations: 288.5 kB / 482.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3613, allocations: 19.92 kB / 482.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004349/0.3657, allocations: 2.307 MB / 484.9 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3657, allocations: 3.953 kB / 484.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.3683, allocations: 1.063 MB / 485.9 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.3685, allocations: 152.7 kB / 486.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.3686, allocations: 12 kB / 486.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.3691, allocations: 27.98 kB / 486.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3692, allocations: 40.33 kB / 486.2 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.3692, allocations: 16 kB / 486.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002392/0.3695, allocations: 208.5 kB / 486.4 MB, free: 1.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3695, allocations: 3.938 kB / 486.4 MB, free: 1.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006398/0.3701, allocations: 139.9 kB / 486.5 MB, free: 1.359 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 () * Number of clocked 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.003657/0.3738, allocations: 1.715 MB / 488.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.3754, allocations: 438.1 kB / 488.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3754, allocations: 4 kB / 488.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.3765, allocations: 393.2 kB / 489.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.377, allocations: 36.5 kB / 489.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.3842, allocations: 3.366 MB / 492.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.3847, allocations: 0.7972 MB / 493.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.3851, allocations: 34.97 kB / 493.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.3855, allocations: 127.4 kB / 493.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3855, allocations: 0 / 493.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.4166, allocations: 8.972 MB / 0.4906 GB, free: 1.367 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.4168, allocations: 235.8 kB / 0.4908 GB, free: 1.121 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.486, allocations: 0 / 0.4908 GB, free: 1.121 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