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.001105/0.001105, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.394/1.394, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008447/0.0008445, allocations: 78.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.233e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.099, allocations: 47.56 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.4019, allocations: 79.79 MB / 449.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4022, allocations: 80.14 kB / 450 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02591/0.4281, allocations: 11.15 MB / 461.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4282, allocations: 0 / 461.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.4282, allocations: 8 kB / 461.1 MB, free: 3.66 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.001227/0.4294, allocations: 0.6084 MB / 461.8 MB, free: 3.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4295, allocations: 12.03 kB / 461.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.718e-05/0.4296, allocations: 66.53 kB / 461.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.4302, allocations: 99.55 kB / 461.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.4306, allocations: 260.9 kB / 462.2 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4306, allocations: 24.78 kB / 462.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.4307, allocations: 43.86 kB / 462.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.4312, allocations: 327 kB / 462.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4312, allocations: 3.984 kB / 462.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.4313, allocations: 12 kB / 462.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4313, allocations: 8 kB / 462.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.4317, allocations: 227.1 kB / 462.8 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.4337, allocations: 1.46 MB / 464.3 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.4344, allocations: 0.6945 MB / 465 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4345, allocations: 101.6 kB / 465.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.4346, allocations: 89.08 kB / 465.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4347, allocations: 42.56 kB / 465.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.4347, allocations: 0 / 465.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005397/0.4352, allocations: 242.5 kB / 465.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4353, allocations: 59.36 kB / 465.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4355, allocations: 159.4 kB / 465.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.4355, allocations: 37.69 kB / 465.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4356, allocations: 172 kB / 465.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.4357, allocations: 86.7 kB / 465.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.4357, allocations: 4 kB / 465.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4358, allocations: 330.8 kB / 466.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.436, allocations: 60.56 kB / 466.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4361, allocations: 123.4 kB / 466.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4363, allocations: 77.14 kB / 466.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4363, allocations: 0 / 466.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005433/0.4368, allocations: 316.8 kB / 466.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4369, allocations: 8 kB / 466.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4369, allocations: 0 / 466.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.4372, allocations: 76.97 kB / 466.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4374, allocations: 39.92 kB / 466.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.4393, allocations: 1.831 MB / 468.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4395, allocations: 31.69 kB / 468.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.4395, allocations: 12 kB / 468.8 MB, free: 11.37 MB / 346.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 0.0001005/0.4396, allocations: 113 kB / 468.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.4397, allocations: 19.81 kB / 469 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.4402, allocations: 279.8 kB / 469.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.4402, allocations: 7.953 kB / 469.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4402, allocations: 0 / 469.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4402, allocations: 7.984 kB / 469.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.4412, allocations: 0.6829 MB / 469.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4412, allocations: 3.953 kB / 469.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.4413, allocations: 27.98 kB / 470 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.4416, allocations: 76.81 kB / 470 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4416, allocations: 4 kB / 470 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.4433, allocations: 1.819 MB / 471.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4433, allocations: 0 / 471.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.4439, allocations: 447.9 kB / 472.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.444, allocations: 108.9 kB / 472.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.444, allocations: 4 kB / 472.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4441, allocations: 11.92 kB / 472.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.4442, allocations: 15.98 kB / 472.4 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4442, allocations: 8 kB / 472.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4443, allocations: 131.5 kB / 472.6 MB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4443, allocations: 0 / 472.6 MB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.4448, allocations: 103.7 kB / 472.7 MB, free: 7.273 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.0009848/0.4458, allocations: 1.011 MB / 473.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.4463, allocations: 342.4 kB / 474 MB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4464, allocations: 0 / 474 MB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.4467, allocations: 238.4 kB / 474.2 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.4469, allocations: 18.53 kB / 474.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4479, allocations: 477 kB / 474.7 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4483, allocations: 0.7594 MB / 475.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4484, allocations: 22.08 kB / 475.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4485, allocations: 75.41 kB / 475.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4485, allocations: 4 kB / 475.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.4661, allocations: 4.674 MB / 480.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.4665, allocations: 206.3 kB / 480.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.08, allocations: 8 kB / 480.5 MB, free: 15.32 MB / 362.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