Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 198.7 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.259/1.259, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008208/0.0008207, allocations: 95.75 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002262/0.0002262, allocations: 8 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2259, allocations: 51.47 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0983/0.3242, allocations: 81.93 MB / 491.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.3245, allocations: 88.5 kB / 491.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02718/0.3517, allocations: 12.11 MB / 0.4918 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3517, allocations: 0 / 0.4918 GB, free: 12.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3517, allocations: 4 kB / 0.4918 GB, free: 12.34 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001267/0.353, allocations: 0.6355 MB / 0.4924 GB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3531, allocations: 8.031 kB / 0.4925 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/0.3531, allocations: 70.53 kB / 0.4925 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.3538, allocations: 99.55 kB / 0.4926 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.3541, allocations: 258.1 kB / 0.4929 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3542, allocations: 32.59 kB / 0.4929 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.3542, allocations: 35.95 kB / 0.4929 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.3547, allocations: 329.1 kB / 0.4932 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3547, allocations: 0 / 0.4932 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3547, allocations: 12 kB / 0.4933 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3548, allocations: 8 kB / 0.4933 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.3551, allocations: 242.5 kB / 0.4935 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.3569, allocations: 1.459 MB / 0.4949 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.3575, allocations: 0.6998 MB / 0.4956 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.3577, allocations: 166.2 kB / 0.4958 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3577, allocations: 38.56 kB / 0.4958 GB, free: 7.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.3577, allocations: 0 / 0.4958 GB, free: 7.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001082/0.3588, allocations: 490.2 kB / 0.4963 GB, free: 7.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3588, allocations: 55.41 kB / 0.4963 GB, free: 7.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.359, allocations: 166.4 kB / 0.4965 GB, free: 7.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.359, allocations: 29.7 kB / 0.4965 GB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.3591, allocations: 172 kB / 0.4967 GB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.3592, allocations: 82.81 kB / 0.4967 GB, free: 6.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.3592, allocations: 4 kB / 0.4968 GB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3593, allocations: 326.8 kB / 0.4971 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3595, allocations: 72.53 kB / 0.4971 GB, free: 6.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3596, allocations: 127.8 kB / 0.4973 GB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3597, allocations: 85.11 kB / 0.4973 GB, free: 6.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3597, allocations: 0 / 0.4973 GB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005174/0.3603, allocations: 311.9 kB / 0.4976 GB, free: 5.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3603, allocations: 7.984 kB / 0.4976 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3603, allocations: 4 kB / 0.4976 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.3606, allocations: 84.88 kB / 0.4977 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3608, allocations: 35.98 kB / 0.4978 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.3625, allocations: 1.858 MB / 0.4996 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3627, allocations: 23.78 kB / 0.4996 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3627, allocations: 12.06 kB / 0.4996 GB, free: 3.738 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3629, allocations: 145.8 kB / 0.4997 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.3629, allocations: 15.81 kB / 0.4998 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.3635, allocations: 288 kB / 0.5 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3635, allocations: 0 / 0.5 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3635, allocations: 7.953 kB / 0.5 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3635, allocations: 3.938 kB / 0.5 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.3645, allocations: 0.685 MB / 0.5007 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3645, allocations: 11.98 kB / 0.5007 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3647, allocations: 27.89 kB / 0.5008 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.3649, allocations: 77.36 kB / 0.5008 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3649, allocations: 7.938 kB / 0.5008 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.3666, allocations: 1.85 MB / 0.5026 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3666, allocations: 0 / 0.5026 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1658/0.5324, allocations: 445.3 kB / 0.5031 GB, free: 91.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.5326, allocations: 111.2 kB / 0.5032 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.5327, allocations: 6.422 kB / 0.5032 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5328, allocations: 4.969 kB / 0.5032 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.5329, allocations: 18.48 kB / 0.5032 GB, free: 91.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.5329, allocations: 7.641 kB / 0.5032 GB, free: 91.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.533, allocations: 130.1 kB / 0.5033 GB, free: 91.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.533, allocations: 0 / 0.5033 GB, free: 91.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006001/0.5336, allocations: 104.8 kB / 0.5034 GB, free: 91.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.5347, allocations: 1.016 MB / 0.5044 GB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.5352, allocations: 339.8 kB / 0.5048 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5353, allocations: 1.125 kB / 0.5048 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.5356, allocations: 250.2 kB / 0.505 GB, free: 90.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5358, allocations: 21.19 kB / 0.505 GB, free: 90.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.5378, allocations: 2.368 MB / 0.5073 GB, free: 89.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.538, allocations: 0.7611 MB / 0.5081 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.5381, allocations: 26.86 kB / 0.5081 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.5382, allocations: 78.02 kB / 0.5082 GB, free: 88.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5382, allocations: 0 / 0.5082 GB, free: 88.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.5539, allocations: 4.689 MB / 0.5127 GB, free: 88.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.5541, allocations: 225.6 kB / 0.513 GB, free: 87.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.242, allocations: 0 / 0.513 GB, free: 87.96 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat does not exist to compare? outputFormat=mat