Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001336/0.001336, allocations: 179.9 kB / 16.38 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.339/1.339, allocations: 223.2 MB / 240.3 MB, free: 10.19 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.0008323/0.0008322, allocations: 85.83 kB / 291.5 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002531, allocations: 8 kB / 351.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2855, allocations: 50.41 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.3959, allocations: 83.83 MB / 485.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3962, allocations: 93.53 kB / 485.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04779/0.444, allocations: 19.67 MB / 0.4933 GB, free: 8.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4441, allocations: 0 / 0.4933 GB, free: 8.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.4441, allocations: 12 kB / 0.4934 GB, free: 8.625 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002816/0.4469, allocations: 0.9743 MB / 0.4943 GB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.447, allocations: 8.031 kB / 0.4943 GB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.4472, allocations: 118.5 kB / 0.4944 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.4483, allocations: 175.1 kB / 0.4946 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4486, allocations: 232.6 kB / 0.4948 GB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.4487, allocations: 54 kB / 0.4949 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4488, allocations: 64 kB / 0.4949 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4501, allocations: 0.709 MB / 0.4956 GB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/0.4502, allocations: 7.938 kB / 0.4956 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.4503, allocations: 24 kB / 0.4957 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4503, allocations: 19.95 kB / 0.4957 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.4516, allocations: 0.6298 MB / 0.4963 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.4552, allocations: 2.351 MB / 0.4986 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.4573, allocations: 1.687 MB / 0.5002 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.4575, allocations: 97.64 kB / 0.5003 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4575, allocations: 47.09 kB / 0.5004 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/0.4576, allocations: 0 / 0.5004 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001679/0.4592, allocations: 0.7329 MB / 0.5011 GB, free: 204 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4593, allocations: 107.4 kB / 0.5012 GB, free: 72 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2124/0.6718, allocations: 230.3 kB / 0.5014 GB, free: 92.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.6719, allocations: 37.73 kB / 0.5014 GB, free: 92.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.6721, allocations: 263.2 kB / 0.5017 GB, free: 91.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.6723, allocations: 222.5 kB / 0.5019 GB, free: 91.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.6724, allocations: 14.72 kB / 0.5019 GB, free: 91.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.6725, allocations: 348.7 kB / 0.5023 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.6731, allocations: 219.9 kB / 0.5025 GB, free: 91.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.6737, allocations: 311.8 kB / 0.5028 GB, free: 91.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.6742, allocations: 253.9 kB / 0.503 GB, free: 91.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6742, allocations: 0.75 kB / 0.503 GB, free: 91.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001331/0.6756, allocations: 0.6471 MB / 0.5036 GB, free: 91.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6756, allocations: 6.328 kB / 0.5036 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6756, allocations: 2.219 kB / 0.5036 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6757, allocations: 7.531 kB / 0.5036 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.6765, allocations: 166.6 kB / 0.5038 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6765, allocations: 8.594 kB / 0.5038 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.677, allocations: 80.22 kB / 0.5039 GB, free: 91.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.677, allocations: 28.72 kB / 0.5039 GB, free: 91.3 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 (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.6773, allocations: 185.3 kB / 0.5041 GB, free: 91.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.6774, allocations: 38.59 kB / 0.5041 GB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.6789, allocations: 0.6198 MB / 0.5047 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6789, allocations: 6.562 kB / 0.5047 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.6789, allocations: 3.688 kB / 0.5047 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.6789, allocations: 9.766 kB / 0.5048 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.6812, allocations: 1.295 MB / 0.506 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6812, allocations: 0.625 kB / 0.506 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.6819, allocations: 131.5 kB / 0.5061 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6819, allocations: 7.891 kB / 0.5062 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.6819, allocations: 16.95 kB / 0.5062 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6819, allocations: 8.734 kB / 0.5062 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6819, allocations: 0 / 0.5062 GB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.6834, allocations: 1.007 MB / 0.5072 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.6835, allocations: 132.9 kB / 0.5073 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.6836, allocations: 12.44 kB / 0.5073 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.684, allocations: 39 kB / 0.5073 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6841, allocations: 38.02 kB / 0.5074 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.6841, allocations: 21.58 kB / 0.5074 GB, free: 90.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.6843, allocations: 188.8 kB / 0.5076 GB, free: 90.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6843, allocations: 5.656 kB / 0.5076 GB, free: 90.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.6848, allocations: 181.4 kB / 0.5078 GB, free: 90.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.6866, allocations: 1.683 MB / 0.5094 GB, free: 89.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.6876, allocations: 0.5559 MB / 0.5099 GB, free: 89.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6876, allocations: 0 / 0.5099 GB, free: 89.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.6881, allocations: 283 kB / 0.5102 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.6885, allocations: 33.94 kB / 0.5102 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.6925, allocations: 3.692 MB / 0.5138 GB, free: 87.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.6928, allocations: 0.8556 MB / 0.5147 GB, free: 86.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.6932, allocations: 75.08 kB / 0.5148 GB, free: 86.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.6934, allocations: 186.7 kB / 0.5149 GB, free: 86.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6934, allocations: 0 / 0.5149 GB, free: 86.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.7127, allocations: 8.51 MB / 0.5232 GB, free: 85.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.7128, allocations: 215.8 kB / 0.5235 GB, free: 85.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.913, allocations: 0 / 0.5235 GB, free: 85.74 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat