Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001539/0.001539, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009222/0.0009221, allocations: 94.91 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.912e-05, allocations: 0 / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4559, allocations: 82.69 MB / 478 MB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.4563, allocations: 85.34 kB / 478.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04924/0.5055, allocations: 21.8 MB / 499.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5056, allocations: 4 kB / 499.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.5056, allocations: 8 kB / 499.9 MB, free: 8.867 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.003068/0.5087, allocations: 0.9904 MB / 0.4891 GB, free: 7.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.5088, allocations: 8.031 kB / 0.4891 GB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.5101, allocations: 214.3 kB / 0.4893 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.5104, allocations: 235.6 kB / 0.4896 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.5104, allocations: 24.86 kB / 0.4896 GB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5106, allocations: 40 kB / 0.4896 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009851/0.5116, allocations: 0.5806 MB / 0.4902 GB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5126, allocations: 0.6216 MB / 0.4908 GB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5127, allocations: 1.781 kB / 0.4908 GB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.5127, allocations: 0 / 0.4908 GB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.5128, allocations: 20 kB / 0.4908 GB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.5177, allocations: 3.19 MB / 0.4939 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.5198, allocations: 2.004 MB / 0.4959 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.5203, allocations: 274.1 kB / 0.4961 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.5206, allocations: 183.2 kB / 0.4963 GB, free: 492 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.5206, allocations: 43.28 kB / 0.4964 GB, free: 440 kB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.5206, allocations: 0 / 0.4964 GB, free: 440 kB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002331/0.523, allocations: 0.7627 MB / 0.4971 GB, free: 15.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.5231, allocations: 119.6 kB / 0.4972 GB, free: 15.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5234, allocations: 216.4 kB / 0.4974 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.5234, allocations: 25.7 kB / 0.4974 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.5237, allocations: 291.5 kB / 0.4977 GB, free: 14.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.5239, allocations: 238.2 kB / 0.498 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.5239, allocations: 0 / 0.498 GB, free: 14.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5241, allocations: 346.8 kB / 0.4983 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.5244, allocations: 182.6 kB / 0.4985 GB, free: 14.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.5248, allocations: 342.6 kB / 0.4988 GB, free: 13.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.5263, allocations: 464.2 kB / 0.4992 GB, free: 13.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5263, allocations: 0 / 0.4992 GB, free: 13.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002378/0.5287, allocations: 0.9113 MB / 0.5001 GB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5288, allocations: 4 kB / 0.5001 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5288, allocations: 4 kB / 0.5001 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.5292, allocations: 125.7 kB / 0.5002 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.53, allocations: 163.7 kB / 0.5004 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.5333, allocations: 3.288 MB / 0.5036 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.534, allocations: 71.25 kB / 0.5037 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.5341, allocations: 31.98 kB / 0.5037 GB, free: 8.535 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.5343, allocations: 126.7 kB / 0.5038 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002267/0.5366, allocations: 0.7704 MB / 0.5046 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5367, allocations: 35.75 kB / 0.5046 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.5391, allocations: 0.8459 MB / 0.5054 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5391, allocations: 15.92 kB / 0.5055 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5391, allocations: 0 / 0.5055 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5392, allocations: 7.984 kB / 0.5055 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.5427, allocations: 1.524 MB / 0.507 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5427, allocations: 0 / 0.507 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.5433, allocations: 119.9 kB / 0.5071 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/0.5437, allocations: 105.7 kB / 0.5072 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.5437, allocations: 7.953 kB / 0.5072 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.5466, allocations: 2.973 MB / 0.5101 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5466, allocations: 0 / 0.5101 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.5494, allocations: 1.224 MB / 0.5113 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5496, allocations: 128.5 kB / 0.5114 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.5497, allocations: 64 / 0.5114 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.5501, allocations: 27.97 kB / 0.5114 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.5503, allocations: 52.7 kB / 0.5115 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.5503, allocations: 20 kB / 0.5115 GB, free: 200 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.5505, allocations: 167.4 kB / 0.5117 GB, free: 32 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5505, allocations: 0 / 0.5117 GB, free: 32 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009346/0.5515, allocations: 207.5 kB / 0.5119 GB, free: 15.83 MB / 394.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 () * 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.003234/0.5547, allocations: 1.884 MB / 0.5137 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5563, allocations: 0.7669 MB / 0.5144 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5563, allocations: 4.125 kB / 0.5144 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.5571, allocations: 0.4905 MB / 0.5149 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5575, allocations: 12.44 kB / 0.5149 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.56, allocations: 0.8844 MB / 0.5158 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.5605, allocations: 0.8736 MB / 0.5167 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.561, allocations: 84.33 kB / 0.5167 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.5613, allocations: 187.4 kB / 0.5169 GB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5613, allocations: 0 / 0.5169 GB, free: 10.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.5954, allocations: 9.123 MB / 0.5258 GB, free: 1.457 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.5957, allocations: 175 kB / 0.526 GB, free: 1.266 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.825, allocations: 0 / 0.526 GB, free: 1.266 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat