Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 199 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.438/1.438, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008827/0.0008827, allocations: 102.1 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002277/0.0002277, allocations: 4 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2253, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3283, allocations: 82.31 MB / 491.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.3287, allocations: 83.95 kB / 491.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03604/0.3647, allocations: 12.42 MB / 0.4925 GB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3648, allocations: 0 / 0.4925 GB, free: 11.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.3648, allocations: 12 kB / 0.4925 GB, free: 11.71 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001812/0.3666, allocations: 0.7798 MB / 0.4933 GB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.3667, allocations: 12.03 kB / 0.4933 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.3669, allocations: 90.52 kB / 0.4934 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.367, allocations: 63.16 kB / 0.4934 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.3677, allocations: 356 kB / 0.4938 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.3678, allocations: 41.27 kB / 0.4938 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.3679, allocations: 60 kB / 0.4939 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.3688, allocations: 430.5 kB / 0.4943 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3688, allocations: 0 / 0.4943 GB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.3688, allocations: 24 kB / 0.4943 GB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3689, allocations: 12 kB / 0.4943 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.3698, allocations: 401 kB / 0.4947 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.3725, allocations: 1.597 MB / 0.4962 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.3733, allocations: 425.3 kB / 0.4966 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3734, allocations: 4.328 kB / 0.4967 GB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3734, allocations: 38.89 kB / 0.4967 GB, free: 7.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/0.3734, allocations: 0 / 0.4967 GB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003534/0.377, allocations: 1.294 MB / 0.498 GB, free: 5.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3771, allocations: 59.97 kB / 0.498 GB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.3775, allocations: 360.7 kB / 0.4984 GB, free: 5.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.3776, allocations: 37.7 kB / 0.4984 GB, free: 5.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.3778, allocations: 303.8 kB / 0.4987 GB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.378, allocations: 185.3 kB / 0.4989 GB, free: 4.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.378, allocations: 16 kB / 0.4989 GB, free: 4.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3782, allocations: 362.7 kB / 0.4992 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.3786, allocations: 185.2 kB / 0.4994 GB, free: 4.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.3792, allocations: 298.1 kB / 0.4997 GB, free: 4.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.3797, allocations: 230.1 kB / 0.4999 GB, free: 3.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3797, allocations: 96 / 0.4999 GB, free: 3.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001608/0.3813, allocations: 0.7694 MB / 0.5007 GB, free: 3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3814, allocations: 4 kB / 0.5007 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3814, allocations: 7.984 kB / 0.5007 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/0.3821, allocations: 195.2 kB / 0.5008 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.3826, allocations: 119.8 kB / 0.501 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1839/0.5666, allocations: 3.991 MB / 0.5049 GB, free: 93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.5672, allocations: 35.52 kB / 0.5049 GB, free: 93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.5672, allocations: 22.7 kB / 0.5049 GB, free: 93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (58): * Single equations (assignments): 56 * 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: 2 {(2,100.0%) 11,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002578/0.5675, allocations: 187.5 kB / 0.5051 GB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.5676, allocations: 51.03 kB / 0.5051 GB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.5677, allocations: 58.72 kB / 0.5052 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5677, allocations: 8.094 kB / 0.5052 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.5678, allocations: 4.688 kB / 0.5052 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5678, allocations: 3.562 kB / 0.5052 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.5701, allocations: 1.315 MB / 0.5065 GB, free: 92.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5701, allocations: 1.219 kB / 0.5065 GB, free: 92.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.5705, allocations: 73.56 kB / 0.5066 GB, free: 92.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.571, allocations: 175.5 kB / 0.5067 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.571, allocations: 12.78 kB / 0.5068 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.5743, allocations: 3.885 MB / 0.5105 GB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5744, allocations: 4.297 kB / 0.5105 GB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5758, allocations: 0.7656 MB / 0.5113 GB, free: 89.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.5759, allocations: 121.6 kB / 0.5114 GB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.576, allocations: 15.77 kB / 0.5114 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.5763, allocations: 30.88 kB / 0.5115 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.5764, allocations: 45.38 kB / 0.5115 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.5765, allocations: 14.16 kB / 0.5115 GB, free: 89.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.5769, allocations: 279.7 kB / 0.5118 GB, free: 89.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5769, allocations: 0.6562 kB / 0.5118 GB, free: 89.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007704/0.5776, allocations: 157 kB / 0.5119 GB, free: 89.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (33): * Single equations (assignments): 31 * 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: 2 {(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.5792, allocations: 1.534 MB / 0.5134 GB, free: 87.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.5805, allocations: 0.8226 MB / 0.5142 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5806, allocations: 0 / 0.5142 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.5813, allocations: 0.5551 MB / 0.5148 GB, free: 87.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5816, allocations: 34.58 kB / 0.5148 GB, free: 87.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5856, allocations: 4.787 MB / 0.5195 GB, free: 83.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5859, allocations: 0.8773 MB / 0.5203 GB, free: 82.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.5861, allocations: 47.22 kB / 0.5204 GB, free: 82.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5863, allocations: 180.7 kB / 0.5206 GB, free: 82.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5863, allocations: 0 / 0.5206 GB, free: 82.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.6066, allocations: 9.121 MB / 0.5295 GB, free: 78.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.6068, allocations: 223.8 kB / 0.5297 GB, free: 78.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.755, allocations: 0 / 0.5297 GB, free: 78.25 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat