Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002147/0.002151, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001625/0.001625, allocations: 84.44 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 8 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4463, allocations: 81.54 MB / 456.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.4467, allocations: 91.94 kB / 456.3 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07926/0.5259, allocations: 20.68 MB / 477 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.526, allocations: 0 / 477 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.526, allocations: 12 kB / 477 MB, free: 10.05 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.004402/0.5304, allocations: 1.003 MB / 478 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5305, allocations: 12.03 kB / 478 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.5308, allocations: 122.6 kB / 478.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.5329, allocations: 207 kB / 478.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.5332, allocations: 242.2 kB / 478.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.5333, allocations: 54 kB / 478.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.5335, allocations: 83.94 kB / 478.7 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.5359, allocations: 0.7629 MB / 479.4 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.5359, allocations: 4 kB / 479.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5361, allocations: 35.98 kB / 479.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.5361, allocations: 16 kB / 479.5 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.5386, allocations: 0.7 MB / 480.2 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/0.5455, allocations: 3.143 MB / 483.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.5494, allocations: 2.09 MB / 485.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.5496, allocations: 98.02 kB / 485.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5497, allocations: 47.16 kB / 485.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.996e-06/0.5497, allocations: 0 / 485.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.004667/0.5544, allocations: 1.147 MB / 486.7 MB, free: 15.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.5545, allocations: 115.4 kB / 486.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.5549, allocations: 245.6 kB / 487.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.555, allocations: 37.7 kB / 487.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.5553, allocations: 357.8 kB / 487.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.5556, allocations: 244.5 kB / 487.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.5557, allocations: 19.94 kB / 487.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5558, allocations: 342.8 kB / 488.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/0.5568, allocations: 249.9 kB / 488.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5579, allocations: 394.2 kB / 488.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.559, allocations: 298.9 kB / 489 MB, free: 13.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.559, allocations: 0 / 489 MB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002894/0.5619, allocations: 0.8308 MB / 489.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5619, allocations: 11.95 kB / 489.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.562, allocations: 4 kB / 489.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.5626, allocations: 121.6 kB / 489.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.5639, allocations: 163.8 kB / 490.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.568, allocations: 3.167 MB / 493.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.569, allocations: 95.09 kB / 493.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.5691, allocations: 32.06 kB / 493.4 MB, free: 8.5 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.0004229/0.5696, allocations: 201.6 kB / 493.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5697, allocations: 43.48 kB / 493.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.5726, allocations: 0.757 MB / 494.4 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5726, allocations: 12 kB / 494.4 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5726, allocations: 4 kB / 494.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5727, allocations: 3.984 kB / 494.4 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.5768, allocations: 1.46 MB / 495.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.5768, allocations: 0 / 495.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5779, allocations: 111.9 kB / 496 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.5784, allocations: 113.6 kB / 496.1 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.5785, allocations: 16 kB / 496.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.5824, allocations: 3.16 MB / 499.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5825, allocations: 3.938 kB / 499.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.5862, allocations: 1.169 MB / 0.4887 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5864, allocations: 132.3 kB / 0.4888 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5866, allocations: 12 kB / 0.4888 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.5873, allocations: 36.03 kB / 0.4889 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.5875, allocations: 52.58 kB / 0.4889 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.5876, allocations: 20 kB / 0.4889 GB, free: 0.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.5879, allocations: 194 kB / 0.4891 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5879, allocations: 0 / 0.4891 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001014/0.5889, allocations: 219.5 kB / 0.4893 GB, free: 400 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.2601/0.8491, allocations: 1.829 MB / 0.4911 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.8517, allocations: 0.9 MB / 0.492 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.8517, allocations: 1 kB / 0.492 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.853, allocations: 0.5706 MB / 0.4926 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.8535, allocations: 32.28 kB / 0.4926 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.8616, allocations: 5.522 MB / 0.498 GB, free: 96.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.8621, allocations: 0.8805 MB / 0.4988 GB, free: 95.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.8626, allocations: 204.4 kB / 0.499 GB, free: 95.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.8626, allocations: 3.188 kB / 0.499 GB, free: 95.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.628/3.491, allocations: 13.16 MB / 0.5119 GB, free: 94.67 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat