Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",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.0009899/0.0009898, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009605, allocations: 95.45 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.518e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.5171, allocations: 88.87 MB / 0.5816 GB, free: 7.492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5174, allocations: 75.95 kB / 0.5816 GB, free: 7.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.5284, allocations: 4.373 MB / 0.5859 GB, free: 3.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.5285, allocations: 0 / 0.5859 GB, free: 3.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5285, allocations: 7.828 kB / 0.5859 GB, free: 3.055 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008039/0.5293, allocations: 0.5127 MB / 0.5864 GB, free: 2.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5294, allocations: 11.98 kB / 0.5864 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.5295, allocations: 31.62 kB / 0.5864 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.5297, allocations: 203.9 kB / 0.5866 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.5298, allocations: 24.72 kB / 0.5867 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.5298, allocations: 19.94 kB / 0.5867 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003338/0.5302, allocations: 189.5 kB / 0.5869 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.5305, allocations: 222.2 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5305, allocations: 0 / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.5306, allocations: 0 / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5306, allocations: 8 kB / 0.5871 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5321, allocations: 0.9462 MB / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.5322, allocations: 38.56 kB / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.5322, allocations: 24.92 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.5322, allocations: 0 / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5322, allocations: 34.52 kB / 0.5881 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5323, allocations: 0 / 0.5881 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.5324, allocations: 57.5 kB / 0.5882 GB, free: 0.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.5325, allocations: 59.38 kB / 0.5882 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5327, allocations: 222 kB / 0.5884 GB, free: 296 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5327, allocations: 29.7 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.5328, allocations: 230.8 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.5328, allocations: 22.78 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.5329, allocations: 0 / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.533, allocations: 326.8 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.5331, allocations: 48 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5332, allocations: 82.95 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5333, allocations: 68.47 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5333, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002728/0.5336, allocations: 193.4 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5336, allocations: 4 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5336, allocations: 4 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5336, allocations: 3.953 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.5339, allocations: 59.95 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.534, allocations: 3.938 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.5342, allocations: 31.72 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.5342, allocations: 7.984 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.599e-05/0.5343, allocations: 101 kB / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001022/0.5344, allocations: 69.45 kB / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.5345, allocations: 19.77 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.5345, allocations: 17.17 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5345, allocations: 0 / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5345, allocations: 4.031 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5345, allocations: 0 / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.535, allocations: 471.9 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5351, allocations: 0 / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.5351, allocations: 7.938 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.5351, allocations: 4.422 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.5351, allocations: 4 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5351, allocations: 0 / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5351, allocations: 4.062 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5353, allocations: 103.4 kB / 0.5903 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.5353, allocations: 96.91 kB / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.5354, allocations: 0 / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5355, allocations: 7.984 kB / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.5355, allocations: 4.031 kB / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.5355, allocations: 0 / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.5357, allocations: 172.5 kB / 0.5905 GB, free: 14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5357, allocations: 4 kB / 0.5905 GB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.536, allocations: 67.69 kB / 0.5906 GB, free: 13.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004065/0.5364, allocations: 0.7031 MB / 0.5913 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.5366, allocations: 103.9 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5366, allocations: 0 / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.5366, allocations: 7.938 kB / 0.5914 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.5368, allocations: 20.66 kB / 0.5914 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.5375, allocations: 269 kB / 0.5917 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.5378, allocations: 0.7514 MB / 0.5924 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.5379, allocations: 21.84 kB / 0.5924 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.538, allocations: 75.41 kB / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.538, allocations: 0 / 0.5925 GB, free: 11.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.5586, allocations: 2.844 MB / 0.5953 GB, free: 9.062 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.5588, allocations: 142 kB / 0.5954 GB, free: 8.867 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.15, allocations: 0.5 kB / 0.5954 GB, free: 8.867 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat