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.CylinderSections.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.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001413/0.001413, allocations: 185.5 kB / 16.4 MB, free: 5.746 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.81/1.81, 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.001105/0.001105, allocations: 97.97 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003635, allocations: 11.98 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3119, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4397, allocations: 82.74 MB / 457.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.44, allocations: 91.94 kB / 457.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07416/0.5142, allocations: 19.52 MB / 477 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5143, allocations: 0 / 477 MB, free: 10.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.5143, allocations: 12 kB / 477 MB, free: 10.02 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004182/0.5185, allocations: 0.9754 MB / 478 MB, free: 8.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5185, allocations: 8.031 kB / 478 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.5188, allocations: 110.5 kB / 478.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.5205, allocations: 175.1 kB / 478.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.5208, allocations: 235 kB / 478.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.5208, allocations: 50 kB / 478.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.521, allocations: 67.95 kB / 478.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.5232, allocations: 0.7113 MB / 479.3 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.5232, allocations: 3.906 kB / 479.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5234, allocations: 28 kB / 479.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5234, allocations: 16 kB / 479.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.5257, allocations: 0.6236 MB / 480 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.5312, allocations: 2.351 MB / 482.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.5344, allocations: 1.685 MB / 484 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.5346, allocations: 101.6 kB / 484.1 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5347, allocations: 39.16 kB / 484.2 MB, free: 2.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.176e-06/0.5347, allocations: 0 / 484.2 MB, free: 2.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002963/0.5377, allocations: 0.7367 MB / 484.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.5378, allocations: 111.4 kB / 485 MB, free: 1.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.5382, allocations: 236 kB / 485.2 MB, free: 1.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.5383, allocations: 37.7 kB / 485.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.5385, allocations: 326.4 kB / 485.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.5388, allocations: 224.8 kB / 485.8 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.5388, allocations: 12 kB / 485.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.539, allocations: 334.8 kB / 486.2 MB, free: 308 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.5399, allocations: 225.8 kB / 486.4 MB, free: 80 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009795/0.5409, allocations: 313.5 kB / 486.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.542, allocations: 255.1 kB / 486.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.542, allocations: 4 kB / 486.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002341/0.5443, allocations: 0.6338 MB / 487.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5444, allocations: 8 kB / 487.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5444, allocations: 4 kB / 487.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.5444, allocations: 8 kB / 487.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5458, allocations: 163.7 kB / 487.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.5459, allocations: 8.031 kB / 487.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.5467, allocations: 87.19 kB / 487.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.5468, allocations: 20 kB / 487.9 MB, free: 14.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.5472, allocations: 185.7 kB / 488 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.5474, allocations: 35.61 kB / 488.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.5497, allocations: 0.6201 MB / 488.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5497, allocations: 8 kB / 488.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.5498, allocations: 3.953 kB / 488.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5498, allocations: 7.984 kB / 488.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.5534, allocations: 1.288 MB / 490 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5534, allocations: 7.891 kB / 490 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.5545, allocations: 131.9 kB / 490.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.5546, allocations: 0 / 490.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.5546, allocations: 12 kB / 490.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.5547, allocations: 8 kB / 490.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5547, allocations: 0 / 490.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.5578, allocations: 1.019 MB / 491.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.558, allocations: 120.5 kB / 491.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5581, allocations: 19.98 kB / 491.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.5588, allocations: 35.92 kB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.559, allocations: 40.5 kB / 491.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.5591, allocations: 16 kB / 491.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.5594, allocations: 192.5 kB / 491.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5594, allocations: 0 / 491.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.5602, allocations: 187.5 kB / 491.8 MB, free: 10.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003514/0.5637, allocations: 1.676 MB / 493.5 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.5657, allocations: 0.5547 MB / 494 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5657, allocations: 0 / 494 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.5667, allocations: 287.4 kB / 494.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.5672, allocations: 34.86 kB / 494.3 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.5755, allocations: 3.711 MB / 498 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.5761, allocations: 0.858 MB / 498.9 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.5767, allocations: 195.3 kB / 499.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5768, allocations: 0 / 499.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.554/3.131, allocations: 8.612 MB / 0.4958 GB, free: 100.8 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections_res.mat does not exist to compare? outputFormat=mat