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.001596/0.001596, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.2 MB / 219.4 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.001548/0.001547, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.945e-05, allocations: 4 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 47.58 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5347, allocations: 81.45 MB / 450.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5351, allocations: 84.94 kB / 450.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08119/0.6163, allocations: 20.62 MB / 471.4 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6163, allocations: 7.875 kB / 471.4 MB, free: 8.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.6164, allocations: 8 kB / 471.4 MB, free: 8.707 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.004407/0.6208, allocations: 0.9756 MB / 472.3 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6209, allocations: 12.03 kB / 472.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.6212, allocations: 118.6 kB / 472.5 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.6232, allocations: 211 kB / 472.7 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.6236, allocations: 243.8 kB / 472.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.6237, allocations: 62 kB / 473 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.6239, allocations: 75.95 kB / 473.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.6264, allocations: 0.7193 MB / 473.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.6265, allocations: 0 / 473.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6267, allocations: 32 kB / 473.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.6267, allocations: 19.94 kB / 473.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.6287, allocations: 0.6143 MB / 474.4 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007733/0.6364, allocations: 3.15 MB / 477.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.6402, allocations: 2.033 MB / 479.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.6412, allocations: 296 kB / 479.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.6414, allocations: 101.9 kB / 480 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.6415, allocations: 39.56 kB / 480.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 5.821e-06/0.6415, allocations: 0 / 480.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002007/0.6435, allocations: 0.5989 MB / 480.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.6436, allocations: 115.5 kB / 480.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.6441, allocations: 242.7 kB / 481 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.6442, allocations: 41.7 kB / 481 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.6445, allocations: 349.9 kB / 481.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.6448, allocations: 248.4 kB / 481.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.6449, allocations: 16 kB / 481.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6451, allocations: 342.8 kB / 482 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.6457, allocations: 198 kB / 482.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.6465, allocations: 350.2 kB / 482.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.6473, allocations: 254 kB / 482.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6473, allocations: 0 / 482.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002244/0.6496, allocations: 0.7588 MB / 483.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.6496, allocations: 8.5 kB / 483.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.6496, allocations: 8 kB / 483.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/0.6503, allocations: 125.6 kB / 483.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.6517, allocations: 159.8 kB / 483.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004817/0.6566, allocations: 3.416 MB / 487.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.6577, allocations: 91.25 kB / 487.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.6578, allocations: 32 kB / 487.3 MB, free: 7.609 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.0002932/0.6581, allocations: 144.8 kB / 487.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6583, allocations: 51.38 kB / 487.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.6605, allocations: 0.6895 MB / 488.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.6605, allocations: 8 kB / 488.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/0.6605, allocations: 4 kB / 488.2 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.6605, allocations: 3.984 kB / 488.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.6644, allocations: 1.453 MB / 489.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6645, allocations: 0 / 489.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6655, allocations: 115.9 kB / 489.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.6662, allocations: 109.6 kB / 489.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.6662, allocations: 15.98 kB / 489.9 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/0.6702, allocations: 3.094 MB / 493 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/0.6703, allocations: 7.891 kB / 493 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.673, allocations: 1.056 MB / 494.1 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.6733, allocations: 128.5 kB / 494.2 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6734, allocations: 12 kB / 494.2 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.6742, allocations: 47.97 kB / 494.3 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.6744, allocations: 48.7 kB / 494.3 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.6744, allocations: 16 kB / 494.3 MB, free: 216 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003079/0.6748, allocations: 191.1 kB / 494.5 MB, free: 24 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6748, allocations: 0 / 494.5 MB, free: 24 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001206/0.676, allocations: 223.5 kB / 494.7 MB, free: 15.8 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.003273/0.6793, allocations: 1.731 MB / 496.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.6815, allocations: 0.8223 MB / 497.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6816, allocations: 0 / 497.3 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.6828, allocations: 0.5291 MB / 497.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.6833, allocations: 24.56 kB / 497.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.6868, allocations: 0.9686 MB / 498.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.6875, allocations: 0.8811 MB / 499.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/0.6881, allocations: 207.3 kB / 499.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6881, allocations: 0 / 499.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/3.636, allocations: 13.32 MB / 0.5012 GB, free: 13.14 MB / 394.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