Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.000999/0.000999, allocations: 176 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009604/0.00096, allocations: 78.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.151e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4708, allocations: 79.38 MB / 442.6 MB, free: 28 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4711, allocations: 80.39 kB / 442.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.4977, allocations: 11.02 MB / 453.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4978, allocations: 0 / 453.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.4978, allocations: 8 kB / 453.7 MB, free: 7.258 MB / 330.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.00135/0.4992, allocations: 0.6063 MB / 454.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4992, allocations: 15.97 kB / 454.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.4999, allocations: 103.2 kB / 454.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5003, allocations: 253.4 kB / 454.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5003, allocations: 8 kB / 454.6 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.5004, allocations: 30.67 kB / 454.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003752/0.5008, allocations: 215.5 kB / 454.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.5012, allocations: 278.9 kB / 455.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5013, allocations: 4 kB / 455.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.5013, allocations: 0 / 455.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5013, allocations: 8 kB / 455.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.5032, allocations: 1.39 MB / 456.6 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.5039, allocations: 0.6826 MB / 457.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.504, allocations: 92.53 kB / 457.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.5042, allocations: 85.11 kB / 457.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5042, allocations: 34.25 kB / 457.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.814e-06/0.5042, allocations: 4 kB / 457.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007176/0.5049, allocations: 270.1 kB / 457.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.505, allocations: 51.41 kB / 457.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5051, allocations: 135.7 kB / 457.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.5052, allocations: 25.7 kB / 457.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5053, allocations: 174.8 kB / 458.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.5053, allocations: 89 kB / 458.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.5054, allocations: 7.875 kB / 458.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5055, allocations: 326.5 kB / 458.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.5056, allocations: 62.88 kB / 458.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.5058, allocations: 108.5 kB / 458.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.506, allocations: 112.2 kB / 458.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5061, allocations: 0 / 458.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006185/0.5067, allocations: 327.8 kB / 459.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5067, allocations: 4 kB / 459.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5067, allocations: 4 kB / 459.1 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.507, allocations: 71.88 kB / 459.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5072, allocations: 39.3 kB / 459.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.509, allocations: 1.753 MB / 461 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5092, allocations: 27.67 kB / 461 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.5092, allocations: 11.19 kB / 461 MB, free: 456 kB / 330.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 () * 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 9.23e-05/0.5093, allocations: 104.9 kB / 461.1 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006055/0.5099, allocations: 268.8 kB / 461.4 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.51, allocations: 19.8 kB / 461.4 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.5106, allocations: 285.4 kB / 461.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5106, allocations: 4.281 kB / 461.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5106, allocations: 7.953 kB / 461.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5106, allocations: 0 / 461.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.5119, allocations: 0.6559 MB / 462.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5119, allocations: 0 / 462.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.512, allocations: 27.42 kB / 462.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.5122, allocations: 79.38 kB / 462.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.5123, allocations: 3.953 kB / 462.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.5141, allocations: 1.732 MB / 464.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5141, allocations: 4 kB / 464.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.5148, allocations: 458.9 kB / 464.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.515, allocations: 111.5 kB / 464.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.515, allocations: 3.984 kB / 464.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5151, allocations: 3.938 kB / 464.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.5152, allocations: 18.78 kB / 464.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5152, allocations: 11.44 kB / 464.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.5153, allocations: 109.7 kB / 464.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5153, allocations: 0 / 464.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005362/0.5158, allocations: 94.23 kB / 465 MB, free: 12.88 MB / 346.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 () * 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.001121/0.517, allocations: 1.007 MB / 466 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.5175, allocations: 324.7 kB / 466.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5176, allocations: 288 / 466.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.5179, allocations: 226.3 kB / 466.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.5181, allocations: 11.69 kB / 466.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5192, allocations: 428.7 kB / 467 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.5196, allocations: 0.7675 MB / 467.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.5197, allocations: 25.78 kB / 467.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.5198, allocations: 76.34 kB / 467.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5198, allocations: 0 / 467.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.5472, allocations: 3.845 MB / 471.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/0.5476, allocations: 163.8 kB / 471.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.537, allocations: 3.938 kB / 471.8 MB, free: 6.184 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat does not exist to compare? outputFormat=mat