Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 203.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.298/1.298, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008914/0.0008914, allocations: 99.66 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002702, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09187/0.3122, allocations: 82.05 MB / 491.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.3125, allocations: 83.95 kB / 491.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01997/0.3324, allocations: 7.37 MB / 499 MB, free: 1.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3325, allocations: 0 / 499 MB, free: 1.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.3325, allocations: 4 kB / 499 MB, free: 1.059 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000992/0.3335, allocations: 0.5656 MB / 499.6 MB, free: 456 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3336, allocations: 8.031 kB / 499.6 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.168e-05/0.3337, allocations: 62.53 kB / 499.6 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.3339, allocations: 43.62 kB / 499.7 MB, free: 332 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.3342, allocations: 271.9 kB / 499.9 MB, free: 16 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.3343, allocations: 24.56 kB / 500 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.3343, allocations: 24 kB / 500 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.3348, allocations: 248.8 kB / 0.4885 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3349, allocations: 7.984 kB / 0.4885 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.3349, allocations: 12 kB / 0.4885 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3349, allocations: 8 kB / 0.4885 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.3354, allocations: 214.1 kB / 0.4887 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.337, allocations: 1.025 MB / 0.4897 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.3374, allocations: 218 kB / 0.49 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3374, allocations: 4 kB / 0.49 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3375, allocations: 34.56 kB / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.3375, allocations: 0 / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004991/0.3425, allocations: 1.498 MB / 0.4915 GB, free: 12.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3425, allocations: 55.41 kB / 0.4915 GB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3428, allocations: 208.1 kB / 0.4917 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3428, allocations: 37.7 kB / 0.4917 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.3429, allocations: 184.2 kB / 0.4919 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.343, allocations: 118.3 kB / 0.492 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.343, allocations: 4 kB / 0.492 GB, free: 11.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3431, allocations: 342.8 kB / 0.4924 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.3434, allocations: 104 kB / 0.4925 GB, free: 11.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3436, allocations: 168.4 kB / 0.4926 GB, free: 11.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3439, allocations: 125.6 kB / 0.4927 GB, free: 11.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3439, allocations: 0 / 0.4927 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001654/0.3456, allocations: 0.5386 MB / 0.4933 GB, free: 10.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3456, allocations: 4 kB / 0.4933 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3456, allocations: 4 kB / 0.4933 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.3472, allocations: 253.4 kB / 0.4935 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3475, allocations: 59.84 kB / 0.4936 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.3521, allocations: 3.796 MB / 0.4973 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.3523, allocations: 8 kB / 0.4973 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.3524, allocations: 12 kB / 0.4973 GB, free: 6.211 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.3526, allocations: 153.8 kB / 0.4974 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.3527, allocations: 23.72 kB / 0.4975 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.3528, allocations: 42.97 kB / 0.4975 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3528, allocations: 0 / 0.4975 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.3528, allocations: 4.562 kB / 0.4975 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3528, allocations: 7.938 kB / 0.4975 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.3533, allocations: 377.3 kB / 0.4979 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3533, allocations: 4 kB / 0.4979 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.3535, allocations: 43.97 kB / 0.4979 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.3549, allocations: 253.3 kB / 0.4982 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.355, allocations: 8 kB / 0.4982 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.3589, allocations: 3.687 MB / 0.5018 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3589, allocations: 0 / 0.5018 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3607, allocations: 0.7191 MB / 0.5025 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.3608, allocations: 96.77 kB / 0.5026 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.3609, allocations: 8 kB / 0.5026 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3611, allocations: 15.98 kB / 0.5026 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.3612, allocations: 35.97 kB / 0.5026 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3612, allocations: 11.94 kB / 0.5026 GB, free: 372 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3614, allocations: 164.5 kB / 0.5028 GB, free: 208 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3614, allocations: 0 / 0.5028 GB, free: 208 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.3619, allocations: 108.6 kB / 0.5029 GB, free: 100 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * 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 (18): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.1859/0.5478, allocations: 1.28 MB / 0.5041 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.5489, allocations: 0.5589 MB / 0.5047 GB, free: 95.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5489, allocations: 1.969 kB / 0.5047 GB, free: 95.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.5495, allocations: 428.3 kB / 0.5051 GB, free: 94.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5497, allocations: 25.41 kB / 0.5051 GB, free: 94.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.5535, allocations: 2.601 MB / 0.5077 GB, free: 93.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.5537, allocations: 0.7888 MB / 0.5084 GB, free: 92.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.5538, allocations: 19.98 kB / 0.5085 GB, free: 92.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.5539, allocations: 92.84 kB / 0.5085 GB, free: 92.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5539, allocations: 1.375 kB / 0.5085 GB, free: 92.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.5736, allocations: 8.051 MB / 0.5164 GB, free: 91.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.5739, allocations: 229.8 kB / 0.5166 GB, free: 91.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.647, allocations: 2.969 kB / 0.5166 GB, free: 91.27 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat