Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.296/1.296, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0009327/0.0009328, allocations: 93.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2101, allocations: 47.56 MB / 375.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08717/0.2974, allocations: 81.55 MB / 457.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.2977, allocations: 87.94 kB / 457.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04644/0.3442, allocations: 20.68 MB / 478.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3442, allocations: 0 / 478.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3442, allocations: 12 kB / 478.2 MB, free: 10.07 MB / 362.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.002656/0.3469, allocations: 1.003 MB / 479.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.347, allocations: 12.03 kB / 479.3 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3472, allocations: 118.6 kB / 479.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.3485, allocations: 211 kB / 479.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3488, allocations: 246.2 kB / 479.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.3488, allocations: 54 kB / 479.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.349, allocations: 75.95 kB / 480 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.3503, allocations: 0.7707 MB / 480.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3503, allocations: 0 / 480.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.3504, allocations: 32 kB / 480.8 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3504, allocations: 16 kB / 480.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3517, allocations: 0.7 MB / 481.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.3557, allocations: 3.139 MB / 484.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3578, allocations: 2.094 MB / 486.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-05/0.3579, allocations: 97.77 kB / 486.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.358, allocations: 51.42 kB / 486.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.358, allocations: 0 / 486.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002358/0.3603, allocations: 1.143 MB / 488 MB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3604, allocations: 119.4 kB / 488.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3606, allocations: 241.6 kB / 488.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3607, allocations: 37.7 kB / 488.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3608, allocations: 303.3 kB / 488.7 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.361, allocations: 236.5 kB / 488.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.361, allocations: 16 kB / 488.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3611, allocations: 350.8 kB / 489.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.3616, allocations: 249.8 kB / 489.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.3622, allocations: 394.3 kB / 489.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.3628, allocations: 298.9 kB / 490.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3628, allocations: 0 / 490.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001471/0.3643, allocations: 0.8424 MB / 491 MB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3643, allocations: 11.95 kB / 491 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3643, allocations: 8.031 kB / 491 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.3647, allocations: 117.6 kB / 491.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.3653, allocations: 167.8 kB / 491.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.3677, allocations: 3.16 MB / 494.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.3683, allocations: 95.09 kB / 494.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.3683, allocations: 32 kB / 494.6 MB, free: 8.566 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.0002631/0.3686, allocations: 193.7 kB / 494.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.3687, allocations: 47.48 kB / 494.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3702, allocations: 0.7609 MB / 495.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3702, allocations: 8 kB / 495.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3702, allocations: 4 kB / 495.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3702, allocations: 3.984 kB / 495.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.3724, allocations: 1.46 MB / 497.1 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3724, allocations: 0 / 497.1 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.373, allocations: 119.9 kB / 497.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.3732, allocations: 113.6 kB / 497.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.3733, allocations: 15.98 kB / 497.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.3757, allocations: 3.148 MB / 0.4887 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.3757, allocations: 7.922 kB / 0.4888 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3775, allocations: 1.173 MB / 0.4899 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.3777, allocations: 132.4 kB / 0.49 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.3777, allocations: 15.94 kB / 0.49 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.3781, allocations: 39.97 kB / 0.4901 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.3782, allocations: 52.64 kB / 0.4901 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.3783, allocations: 16 kB / 0.4901 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3784, allocations: 194 kB / 0.4903 GB, free: 0.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3784, allocations: 0 / 0.4903 GB, free: 0.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006891/0.3791, allocations: 219.5 kB / 0.4905 GB, free: 464 kB / 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.1512/0.5304, allocations: 1.833 MB / 0.4923 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.532, allocations: 0.8941 MB / 0.4932 GB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5321, allocations: 0 / 0.4932 GB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.5328, allocations: 0.5755 MB / 0.4938 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.5331, allocations: 31.98 kB / 0.4938 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.538, allocations: 5.493 MB / 0.4992 GB, free: 97.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.5383, allocations: 0.8785 MB / 0.5 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000431/0.5388, allocations: 80.69 kB / 0.5001 GB, free: 96.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.539, allocations: 195.8 kB / 0.5003 GB, free: 96.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.539, allocations: 1.125 kB / 0.5003 GB, free: 96.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.5592, allocations: 9.741 MB / 0.5098 GB, free: 95.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.5594, allocations: 230.5 kB / 0.51 GB, free: 95.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.638, allocations: 0 / 0.51 GB, free: 95.33 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat