Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001809/0.001809, allocations: 179.3 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.553/1.553, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0008132/0.0008132, allocations: 95.09 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002546, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2526, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3642, allocations: 82.56 MB / 484.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.3645, allocations: 95.94 kB / 484.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05119/0.4157, allocations: 20.82 MB / 0.4932 GB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4158, allocations: 0 / 0.4932 GB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.4158, allocations: 12 kB / 0.4932 GB, free: 8.68 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003177/0.419, allocations: 0.9937 MB / 0.4942 GB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4191, allocations: 12.03 kB / 0.4942 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002627/0.4193, allocations: 126.5 kB / 0.4944 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.4208, allocations: 211 kB / 0.4946 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.421, allocations: 236.4 kB / 0.4948 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.4211, allocations: 58 kB / 0.4948 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.4213, allocations: 75.98 kB / 0.4949 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.4229, allocations: 0.7699 MB / 0.4957 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.4229, allocations: 3.938 kB / 0.4957 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.025e-05/0.423, allocations: 32 kB / 0.4957 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.423, allocations: 19.95 kB / 0.4957 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.4245, allocations: 0.6922 MB / 0.4964 GB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.429, allocations: 3.15 MB / 0.4995 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2386/0.6677, allocations: 2.074 MB / 0.5015 GB, free: 89.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.668, allocations: 97.73 kB / 0.5016 GB, free: 89.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.6681, allocations: 47.14 kB / 0.5016 GB, free: 89.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 5.01e-06/0.6681, allocations: 0 / 0.5016 GB, free: 89.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.003766/0.6718, allocations: 1.152 MB / 0.5028 GB, free: 89.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.6719, allocations: 114.2 kB / 0.5029 GB, free: 89.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.6724, allocations: 246.8 kB / 0.5031 GB, free: 88.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.6724, allocations: 39.86 kB / 0.5031 GB, free: 88.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.6727, allocations: 298.2 kB / 0.5034 GB, free: 88.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.6729, allocations: 244.1 kB / 0.5036 GB, free: 88.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.6729, allocations: 17.22 kB / 0.5037 GB, free: 88.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6731, allocations: 352.5 kB / 0.504 GB, free: 88.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.6737, allocations: 246 kB / 0.5042 GB, free: 88.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.6744, allocations: 392.6 kB / 0.5046 GB, free: 88.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.675, allocations: 295 kB / 0.5049 GB, free: 88.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.675, allocations: 1.375 kB / 0.5049 GB, free: 88.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00179/0.6768, allocations: 0.849 MB / 0.5057 GB, free: 88.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.6768, allocations: 9.469 kB / 0.5057 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.6768, allocations: 4.875 kB / 0.5057 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.6773, allocations: 117.3 kB / 0.5058 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.6781, allocations: 166.2 kB / 0.506 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6804, allocations: 3.166 MB / 0.5091 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.681, allocations: 93.5 kB / 0.5092 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.681, allocations: 31.38 kB / 0.5092 GB, free: 85.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 86 * 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 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.6813, allocations: 205 kB / 0.5094 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.6814, allocations: 44.28 kB / 0.5095 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.6829, allocations: 0.7578 MB / 0.5102 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6829, allocations: 7.812 kB / 0.5102 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6829, allocations: 7.625 kB / 0.5102 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6829, allocations: 6.656 kB / 0.5102 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.685, allocations: 1.459 MB / 0.5116 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.685, allocations: 0 / 0.5116 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.6856, allocations: 123 kB / 0.5118 GB, free: 84.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.6858, allocations: 107.9 kB / 0.5119 GB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.6859, allocations: 20.89 kB / 0.5119 GB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.6879, allocations: 3.149 MB / 0.515 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.688, allocations: 3.562 kB / 0.515 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6898, allocations: 1.168 MB / 0.5161 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6899, allocations: 129.2 kB / 0.5162 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.69, allocations: 15.3 kB / 0.5162 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.6904, allocations: 39.67 kB / 0.5163 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.6905, allocations: 54.05 kB / 0.5163 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.6905, allocations: 18.61 kB / 0.5163 GB, free: 81.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.6907, allocations: 191.1 kB / 0.5165 GB, free: 81.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6907, allocations: 0.5625 kB / 0.5165 GB, free: 81.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007901/0.6915, allocations: 220.1 kB / 0.5167 GB, free: 81.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.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 (60): * Single equations (assignments): 58 * 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 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002082/0.6936, allocations: 1.844 MB / 0.5185 GB, free: 80.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.6952, allocations: 0.8955 MB / 0.5194 GB, free: 80.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6952, allocations: 7.406 kB / 0.5194 GB, free: 80.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.6959, allocations: 0.5788 MB / 0.52 GB, free: 80.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.6963, allocations: 26.28 kB / 0.52 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.701, allocations: 5.477 MB / 0.5254 GB, free: 76.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.7014, allocations: 0.8811 MB / 0.5262 GB, free: 75.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.7019, allocations: 85.48 kB / 0.5263 GB, free: 75.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.7022, allocations: 195.1 kB / 0.5265 GB, free: 75.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7022, allocations: 0 / 0.5265 GB, free: 75.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.7257, allocations: 9.76 MB / 0.536 GB, free: 71.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.7259, allocations: 226.9 kB / 0.5362 GB, free: 71.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.004, allocations: 6.875 kB / 0.5362 GB, free: 71.73 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat