Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009266/0.0009266, allocations: 177.7 kB / 8.697 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.594/1.594, allocations: 205.3 MB / 214.4 MB, free: 1.668 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.0009982/0.000998, allocations: 82.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09586, allocations: 47.59 MB / 363.2 MB, free: 6.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4558, allocations: 82.2 MB / 445.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4561, allocations: 88 kB / 445.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04475/0.5008, allocations: 19.25 MB / 464.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5009, allocations: 11.88 kB / 464.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.5009, allocations: 8 kB / 464.7 MB, free: 14.11 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.002607/0.5035, allocations: 0.9433 MB / 465.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5036, allocations: 12.02 kB / 465.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5047, allocations: 174.2 kB / 465.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.5049, allocations: 231 kB / 466.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5049, allocations: 20 kB / 466.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.505, allocations: 51.14 kB / 466.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000876/0.5059, allocations: 0.5053 MB / 466.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.5069, allocations: 0.5721 MB / 467.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.5069, allocations: 4 kB / 467.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.5069, allocations: 0 / 467.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.507, allocations: 16 kB / 467.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.5101, allocations: 2.233 MB / 469.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.5118, allocations: 1.605 MB / 471.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.5121, allocations: 220.7 kB / 471.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.5123, allocations: 109.3 kB / 471.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5123, allocations: 38.69 kB / 471.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.5123, allocations: 0 / 471.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001171/0.5135, allocations: 0.5276 MB / 472 MB, free: 7.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.5136, allocations: 107.4 kB / 472.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5138, allocations: 216.8 kB / 472.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5138, allocations: 25.7 kB / 472.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.514, allocations: 275 kB / 472.6 MB, free: 7.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.5142, allocations: 213.8 kB / 472.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.5142, allocations: 0 / 472.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5143, allocations: 342.8 kB / 473.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.5146, allocations: 166 kB / 473.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.5149, allocations: 253.5 kB / 473.5 MB, free: 6.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.5156, allocations: 313 kB / 473.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5157, allocations: 0 / 473.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001316/0.517, allocations: 0.6366 MB / 474.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.517, allocations: 8 kB / 474.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.517, allocations: 4 kB / 474.5 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.5171, allocations: 4 kB / 474.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.5178, allocations: 163.7 kB / 474.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5178, allocations: 4 kB / 474.7 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.5183, allocations: 71.3 kB / 474.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.5184, allocations: 28 kB / 474.8 MB, free: 5.25 MB / 346.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.000122/0.5185, allocations: 108.9 kB / 474.9 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001071/0.5196, allocations: 0.5297 MB / 475.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.5197, allocations: 43.55 kB / 475.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.521, allocations: 0.601 MB / 476 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.521, allocations: 11.95 kB / 476.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.521, allocations: 0 / 476.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.521, allocations: 3.984 kB / 476.1 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.523, allocations: 1.203 MB / 477.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.5231, allocations: 7.938 kB / 477.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.5236, allocations: 135.8 kB / 477.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.5237, allocations: 0 / 477.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.5237, allocations: 8 kB / 477.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5237, allocations: 4 kB / 477.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5237, allocations: 4 kB / 477.4 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.5253, allocations: 0.9687 MB / 478.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5254, allocations: 120.5 kB / 478.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.5254, allocations: 0 / 478.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.5258, allocations: 32.03 kB / 478.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.5259, allocations: 36.52 kB / 478.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.526, allocations: 19.98 kB / 478.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.5261, allocations: 168.5 kB / 478.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5261, allocations: 3.938 kB / 478.8 MB, free: 1.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006022/0.5268, allocations: 159.4 kB / 478.9 MB, free: 0.9883 MB / 346.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.00197/0.5287, allocations: 1.622 MB / 480.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007974/0.5295, allocations: 446.2 kB / 481 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5296, allocations: 4 kB / 481 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.5299, allocations: 230 kB / 481.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5302, allocations: 34.67 kB / 481.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5324, allocations: 0.8447 MB / 482.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.5328, allocations: 0.8536 MB / 482.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000417/0.5333, allocations: 75.34 kB / 483 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.5335, allocations: 187.4 kB / 483.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5336, allocations: 4 kB / 483.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.564, allocations: 7.768 MB / 491 MB, free: 4.832 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.5643, allocations: 176.3 kB / 491.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.718, allocations: 4 kB / 491.1 MB, free: 4.633 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat