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.001517/0.001517, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009298, allocations: 82.38 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.666e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.09956, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4411, allocations: 81.04 MB / 444.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4414, allocations: 90.56 kB / 444.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.4876, allocations: 20.39 MB / 464.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4876, allocations: 0 / 464.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4876, allocations: 8 kB / 464.7 MB, free: 14.09 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.002673/0.4903, allocations: 0.987 MB / 465.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4904, allocations: 12.03 kB / 465.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.4917, allocations: 211.9 kB / 465.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.492, allocations: 236.5 kB / 466.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.492, allocations: 24 kB / 466.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/0.4921, allocations: 51.02 kB / 466.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009569/0.4931, allocations: 0.5712 MB / 466.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4941, allocations: 0.6208 MB / 467.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4942, allocations: 4 kB / 467.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.4942, allocations: 0 / 467.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.4942, allocations: 16 kB / 467.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.4983, allocations: 3.027 MB / 470.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.5003, allocations: 2.007 MB / 472.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.5008, allocations: 282 kB / 472.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.5009, allocations: 97.86 kB / 472.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5009, allocations: 41.59 kB / 472.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.905e-06/0.5009, allocations: 0 / 472.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.001498/0.5024, allocations: 0.6732 MB / 473.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.5025, allocations: 114.7 kB / 473.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.5027, allocations: 218.1 kB / 473.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.5028, allocations: 25.7 kB / 473.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.503, allocations: 300.1 kB / 474.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5032, allocations: 239.9 kB / 474.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5032, allocations: 0 / 474.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5033, allocations: 346.8 kB / 474.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5036, allocations: 186.6 kB / 474.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.5041, allocations: 326.7 kB / 475.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.5049, allocations: 376.3 kB / 475.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5049, allocations: 0 / 475.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00157/0.5065, allocations: 0.8216 MB / 476.4 MB, free: 3.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.5065, allocations: 12.03 kB / 476.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5065, allocations: 4 kB / 476.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.5069, allocations: 117.6 kB / 476.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.5076, allocations: 167.7 kB / 476.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.5105, allocations: 3.281 MB / 480 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.511, allocations: 75.27 kB / 480.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.5111, allocations: 35.98 kB / 480.1 MB, free: 15.34 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.0001464/0.5113, allocations: 120.8 kB / 480.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001429/0.5127, allocations: 0.6768 MB / 480.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.5128, allocations: 39.61 kB / 481 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.5144, allocations: 0.7599 MB / 481.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5144, allocations: 11.98 kB / 481.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5144, allocations: 4 kB / 481.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5144, allocations: 7.984 kB / 481.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.5169, allocations: 1.43 MB / 483.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5169, allocations: 0 / 483.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.5174, allocations: 119.8 kB / 483.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.5177, allocations: 101.7 kB / 483.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5178, allocations: 11.94 kB / 483.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.5202, allocations: 2.97 MB / 486.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5202, allocations: 0 / 486.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.5221, allocations: 1.13 MB / 487.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.5222, allocations: 124.5 kB / 487.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.5222, allocations: 4 kB / 487.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.5226, allocations: 23.97 kB / 487.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5228, allocations: 60.7 kB / 487.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.5228, allocations: 19.98 kB / 487.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.523, allocations: 168.5 kB / 487.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.523, allocations: 3.938 kB / 487.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000837/0.5238, allocations: 187.5 kB / 488.1 MB, free: 7.012 MB / 362.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.002392/0.5262, allocations: 1.779 MB / 489.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.5275, allocations: 0.7621 MB / 490.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5275, allocations: 0 / 490.6 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.5282, allocations: 0.5031 MB / 491.1 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.5285, allocations: 12.44 kB / 491.1 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.5306, allocations: 0.8727 MB / 492 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5311, allocations: 0.8775 MB / 492.9 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004035/0.5316, allocations: 76.33 kB / 493 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.5319, allocations: 195.4 kB / 493.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5319, allocations: 0 / 493.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.5617, allocations: 9.054 MB / 0.4904 GB, free: 8.719 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.562, allocations: 168.6 kB / 0.4906 GB, free: 8.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.765, allocations: 0 / 0.4906 GB, free: 8.527 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