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.001068/0.001068, allocations: 172.8 kB / 14.1 MB, free: 1.223 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.317/1.317, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007372/0.0007372, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.106e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09127, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2904/0.3817, allocations: 81.46 MB / 451.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.382, allocations: 84.14 kB / 451.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04676/0.4288, allocations: 20.63 MB / 472.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4289, allocations: 4 kB / 472.3 MB, free: 8.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.4289, allocations: 12 kB / 472.3 MB, free: 8.375 MB / 346.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.002664/0.4316, allocations: 0.9755 MB / 473.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4316, allocations: 12.03 kB / 473.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.4318, allocations: 114.6 kB / 473.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.433, allocations: 211 kB / 473.6 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.4333, allocations: 239.8 kB / 473.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.4333, allocations: 61.98 kB / 473.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4335, allocations: 75.95 kB / 474 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4347, allocations: 0.7271 MB / 474.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.4347, allocations: 0 / 474.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.4348, allocations: 31.94 kB / 474.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4348, allocations: 20 kB / 474.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.4358, allocations: 0.6065 MB / 475.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.44, allocations: 3.15 MB / 478.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.442, allocations: 2.041 MB / 480.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.4425, allocations: 292 kB / 480.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4426, allocations: 102.1 kB / 480.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.4427, allocations: 43.34 kB / 481 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.356e-06/0.4427, allocations: 3.938 kB / 481 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.00118/0.4439, allocations: 0.5872 MB / 481.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.444, allocations: 119.6 kB / 481.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.4443, allocations: 250.7 kB / 481.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.4443, allocations: 37.7 kB / 482 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.4445, allocations: 287.5 kB / 482.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.4447, allocations: 252.4 kB / 482.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.4447, allocations: 16 kB / 482.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4449, allocations: 346.8 kB / 482.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4452, allocations: 198 kB / 483 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.4457, allocations: 346.2 kB / 483.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.4461, allocations: 258 kB / 483.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4461, allocations: 4 kB / 483.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001268/0.4474, allocations: 0.7706 MB / 484.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4474, allocations: 8 kB / 484.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4474, allocations: 4 kB / 484.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.4478, allocations: 129.8 kB / 484.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.4485, allocations: 155.8 kB / 484.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.4516, allocations: 3.404 MB / 488.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.4522, allocations: 103.1 kB / 488.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.4523, allocations: 24 kB / 488.2 MB, free: 7.324 MB / 362.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.0001697/0.4524, allocations: 152.9 kB / 488.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.4525, allocations: 47.42 kB / 488.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.4538, allocations: 0.6857 MB / 489.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.4539, allocations: 8 kB / 489.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4539, allocations: 8 kB / 489.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4539, allocations: 3.984 kB / 489.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.4561, allocations: 1.453 MB / 490.6 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4561, allocations: 0 / 490.6 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.4566, allocations: 115.9 kB / 490.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.4569, allocations: 113.6 kB / 490.8 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.4569, allocations: 15.98 kB / 490.8 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.4594, allocations: 3.09 MB / 493.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4594, allocations: 7.891 kB / 493.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.4608, allocations: 1.056 MB / 495 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.461, allocations: 128.5 kB / 495.1 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.461, allocations: 15.94 kB / 495.1 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.4614, allocations: 40.08 kB / 495.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4616, allocations: 48.72 kB / 495.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.4616, allocations: 19.98 kB / 495.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.4618, allocations: 191.1 kB / 495.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4618, allocations: 0 / 495.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007707/0.4626, allocations: 219.5 kB / 495.6 MB, free: 15.52 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 () * 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.001983/0.4646, allocations: 1.732 MB / 497.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.466, allocations: 0.8217 MB / 498.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4661, allocations: 0 / 498.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.4667, allocations: 0.5299 MB / 498.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4671, allocations: 29.53 kB / 498.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4691, allocations: 0.9395 MB / 499.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.4696, allocations: 0.8772 MB / 0.4888 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003961/0.47, allocations: 92.28 kB / 0.4889 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.4702, allocations: 195.4 kB / 0.4891 GB, free: 10.15 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4703, allocations: 0 / 0.4891 GB, free: 10.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.4958, allocations: 10.14 MB / 0.499 GB, free: 4 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.4961, allocations: 202.9 kB / 0.4992 GB, free: 15.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.683, allocations: 4.062 kB / 0.4992 GB, free: 15.77 MB / 394.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