Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 93.59 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003468, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.272, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3773, allocations: 83.13 MB / 484.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3776, allocations: 95.94 kB / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06196/0.4396, allocations: 26.26 MB / 0.4991 GB, free: 2.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.4396, allocations: 0 / 0.4991 GB, free: 2.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.255e-05/0.4397, allocations: 16 kB / 0.4991 GB, free: 2.594 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003655/0.4434, allocations: 1.115 MB / 0.5002 GB, free: 1.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4434, allocations: 12.03 kB / 0.5002 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003804/0.4438, allocations: 156.1 kB / 0.5004 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4456, allocations: 254.8 kB / 0.5006 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.4459, allocations: 250 kB / 0.5008 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.446, allocations: 74 kB / 0.5009 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.4462, allocations: 99.91 kB / 0.501 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2289/0.6751, allocations: 0.9229 MB / 0.5019 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.6752, allocations: 2.469 kB / 0.5019 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6753, allocations: 42.14 kB / 0.502 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.6754, allocations: 24.25 kB / 0.502 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.6771, allocations: 0.7775 MB / 0.5027 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/0.6826, allocations: 3.415 MB / 0.5061 GB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.6848, allocations: 1.418 MB / 0.5075 GB, free: 85.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.624e-05/0.6849, allocations: 101.8 kB / 0.5076 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.6849, allocations: 50.77 kB / 0.5076 GB, free: 85.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.056e-06/0.6849, allocations: 0 / 0.5076 GB, free: 85.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001911/0.6868, allocations: 1.296 MB / 0.5089 GB, free: 84.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6869, allocations: 87.55 kB / 0.509 GB, free: 84.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.6872, allocations: 327.5 kB / 0.5093 GB, free: 84.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.6873, allocations: 41.58 kB / 0.5093 GB, free: 84.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.6874, allocations: 379.5 kB / 0.5097 GB, free: 84.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.6876, allocations: 303 kB / 0.51 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.6877, allocations: 19.38 kB / 0.51 GB, free: 84.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.6877, allocations: 366.8 kB / 0.5103 GB, free: 84.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.6881, allocations: 260.2 kB / 0.5106 GB, free: 84.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.6886, allocations: 473.3 kB / 0.511 GB, free: 83.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.6891, allocations: 337.3 kB / 0.5113 GB, free: 83.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.6891, allocations: 1.312 kB / 0.5113 GB, free: 83.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001381/0.6905, allocations: 0.9664 MB / 0.5123 GB, free: 83.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6905, allocations: 7.531 kB / 0.5123 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6905, allocations: 7.531 kB / 0.5123 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.6909, allocations: 126.5 kB / 0.5124 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.6917, allocations: 202.4 kB / 0.5126 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.6944, allocations: 5.596 MB / 0.5181 GB, free: 78.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.6951, allocations: 95 kB / 0.5182 GB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.6951, allocations: 52.08 kB / 0.5182 GB, free: 78.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.6955, allocations: 235.5 kB / 0.5184 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.6956, allocations: 53.16 kB / 0.5185 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6969, allocations: 0.845 MB / 0.5193 GB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6969, allocations: 10.72 kB / 0.5193 GB, free: 78.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6969, allocations: 11.78 kB / 0.5193 GB, free: 78.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6969, allocations: 6.766 kB / 0.5193 GB, free: 78.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.6994, allocations: 2.044 MB / 0.5213 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6994, allocations: 0 / 0.5213 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.7, allocations: 133.9 kB / 0.5215 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.7002, allocations: 107.2 kB / 0.5216 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.7003, allocations: 23.77 kB / 0.5216 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.7027, allocations: 5.336 MB / 0.5268 GB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7027, allocations: 3.188 kB / 0.5268 GB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.7042, allocations: 1.388 MB / 0.5282 GB, free: 70.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.7044, allocations: 145.8 kB / 0.5283 GB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.7045, allocations: 14.12 kB / 0.5283 GB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.7048, allocations: 22.38 kB / 0.5283 GB, free: 70.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.7049, allocations: 68.34 kB / 0.5284 GB, free: 70.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.705, allocations: 22.09 kB / 0.5284 GB, free: 70.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.7052, allocations: 255.2 kB / 0.5287 GB, free: 70.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7052, allocations: 0 / 0.5287 GB, free: 70.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009283/0.7062, allocations: 268.2 kB / 0.5289 GB, free: 70.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (referenceSensor.port.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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/0.708, allocations: 2.665 MB / 0.5315 GB, free: 68.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.7095, allocations: 1.163 MB / 0.5327 GB, free: 67.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7095, allocations: 0 / 0.5327 GB, free: 67.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.7101, allocations: 0.7875 MB / 0.5334 GB, free: 67.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.7105, allocations: 55.58 kB / 0.5335 GB, free: 67.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.7159, allocations: 7.322 MB / 0.5406 GB, free: 61.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.7163, allocations: 0.9275 MB / 0.5415 GB, free: 60.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.7169, allocations: 113 kB / 0.5417 GB, free: 60.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.7172, allocations: 254.9 kB / 0.5419 GB, free: 60.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7172, allocations: 0 / 0.5419 GB, free: 60.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.7426, allocations: 11.97 MB / 0.5536 GB, free: 54.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.7428, allocations: 225.4 kB / 0.5538 GB, free: 53.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.133, allocations: 0 / 0.5538 GB, free: 53.83 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat