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.00229/0.00229, allocations: 181.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.15/2.15, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001122/0.001121, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.292e-05, allocations: 4 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 47.58 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5357, allocations: 82.64 MB / 451.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5361, allocations: 81.89 kB / 451.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07776/0.6139, allocations: 19.47 MB / 471.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.614, allocations: 0 / 471.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.614, allocations: 8 kB / 471.4 MB, free: 8.586 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004554/0.6186, allocations: 0.9522 MB / 472.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.6187, allocations: 12.03 kB / 472.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.619, allocations: 110.4 kB / 472.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.6207, allocations: 175.1 kB / 472.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.6211, allocations: 235.9 kB / 472.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.6211, allocations: 54 kB / 472.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.6214, allocations: 71.94 kB / 473 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6233, allocations: 0.6623 MB / 473.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.6234, allocations: 0 / 473.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6235, allocations: 28 kB / 473.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.6236, allocations: 20 kB / 473.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.6253, allocations: 0.544 MB / 474.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.6315, allocations: 2.344 MB / 476.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.6347, allocations: 1.642 MB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.6355, allocations: 243.7 kB / 478.5 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.6358, allocations: 97.66 kB / 478.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.6358, allocations: 47.14 kB / 478.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.898e-06/0.6359, allocations: 3.938 kB / 478.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001503/0.6374, allocations: 466.6 kB / 479.1 MB, free: 392 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.6375, allocations: 115.4 kB / 479.2 MB, free: 252 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.638, allocations: 229 kB / 479.4 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.6382, allocations: 37.7 kB / 479.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.6385, allocations: 330.3 kB / 479.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.6388, allocations: 228.7 kB / 480 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.6389, allocations: 15.94 kB / 480 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6391, allocations: 334.8 kB / 480.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.6398, allocations: 185.5 kB / 480.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.6406, allocations: 263.4 kB / 480.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.6414, allocations: 222.1 kB / 481 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6414, allocations: 0 / 481 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001749/0.6431, allocations: 0.5662 MB / 481.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.6432, allocations: 4 kB / 481.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6433, allocations: 0 / 481.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/0.6433, allocations: 11.95 kB / 481.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.6449, allocations: 168 kB / 481.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.6449, allocations: 4 kB / 481.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.646, allocations: 79.34 kB / 481.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.6461, allocations: 20 kB / 481.8 MB, free: 13.54 MB / 362.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 () * 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.0002798/0.6464, allocations: 140.8 kB / 482 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6466, allocations: 43.53 kB / 482 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.6483, allocations: 0.5422 MB / 482.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6484, allocations: 8 kB / 482.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.6484, allocations: 7.953 kB / 482.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6484, allocations: 3.984 kB / 482.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.6516, allocations: 1.218 MB / 483.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6517, allocations: 0 / 483.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.6529, allocations: 135.8 kB / 483.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.653, allocations: 4 kB / 483.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.653, allocations: 12 kB / 483.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.6531, allocations: 4 kB / 483.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6531, allocations: 3.984 kB / 484 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.6553, allocations: 0.9063 MB / 484.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.6556, allocations: 124.5 kB / 485 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6557, allocations: 15.98 kB / 485 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.6565, allocations: 31.98 kB / 485 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.6566, allocations: 40.5 kB / 485.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.6567, allocations: 19.98 kB / 485.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003221/0.657, allocations: 189.4 kB / 485.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.657, allocations: 4.062 kB / 485.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008664/0.6579, allocations: 191.4 kB / 485.5 MB, free: 9.797 MB / 362.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 () * 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.002819/0.6608, allocations: 1.57 MB / 487 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.6623, allocations: 493.1 kB / 487.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6624, allocations: 0 / 487.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006508/0.663, allocations: 251.1 kB / 487.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.6636, allocations: 30.5 kB / 487.8 MB, free: 7.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.6674, allocations: 0.938 MB / 488.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.668, allocations: 0.85 MB / 489.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/0.6686, allocations: 199.3 kB / 489.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6686, allocations: 4 kB / 489.8 MB, free: 5.379 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.729/3.397, allocations: 8.804 MB / 498.6 MB, free: 12.56 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