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.001137/0.001137, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.349/1.349, allocations: 205.2 MB / 219.8 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.0008429/0.000843, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.624e-05, allocations: 4 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0789/0.07895, allocations: 47.57 MB / 370.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2803/0.3593, allocations: 82.64 MB / 452.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3596, allocations: 82.27 kB / 452.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04489/0.4045, allocations: 19.47 MB / 472.3 MB, free: 8.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4046, allocations: 0 / 472.3 MB, free: 8.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.4046, allocations: 15.94 kB / 472.3 MB, free: 8.363 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.002842/0.4074, allocations: 0.9444 MB / 473.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.4075, allocations: 16.02 kB / 473.3 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/0.4078, allocations: 114.5 kB / 473.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.4091, allocations: 171.1 kB / 473.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4094, allocations: 235.9 kB / 473.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.4095, allocations: 50 kB / 473.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.4097, allocations: 71.95 kB / 473.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4111, allocations: 0.6662 MB / 474.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.4112, allocations: 0 / 474.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.4113, allocations: 28 kB / 474.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4113, allocations: 23.98 kB / 474.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.4123, allocations: 0.5441 MB / 475.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.4159, allocations: 2.351 MB / 477.5 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.4177, allocations: 1.634 MB / 479.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.4181, allocations: 247.7 kB / 479.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.4182, allocations: 101.7 kB / 479.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4183, allocations: 43.06 kB / 479.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.4183, allocations: 4 kB / 479.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0008176/0.4191, allocations: 466.6 kB / 480 MB, free: 160 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4192, allocations: 115.3 kB / 480.1 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4194, allocations: 229.1 kB / 480.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.4195, allocations: 37.7 kB / 480.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4196, allocations: 263.9 kB / 480.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4198, allocations: 232.6 kB / 480.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4198, allocations: 16 kB / 480.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4199, allocations: 350.8 kB / 481.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.4202, allocations: 173.6 kB / 481.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.4206, allocations: 267.4 kB / 481.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.421, allocations: 222 kB / 481.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.421, allocations: 0 / 481.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008559/0.4218, allocations: 0.5662 MB / 482.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4219, allocations: 8 kB / 482.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4219, allocations: 3.984 kB / 482.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4219, allocations: 12.14 kB / 482.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.4226, allocations: 167.8 kB / 482.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.4226, allocations: 4 kB / 482.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.4231, allocations: 79.25 kB / 482.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4232, allocations: 24 kB / 482.7 MB, free: 13.35 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.000118/0.4233, allocations: 144.8 kB / 482.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.4234, allocations: 31.62 kB / 482.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009376/0.4243, allocations: 0.5422 MB / 483.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4244, allocations: 8 kB / 483.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4244, allocations: 3.953 kB / 483.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4244, allocations: 3.984 kB / 483.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4261, allocations: 1.222 MB / 484.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4261, allocations: 0 / 484.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.4267, allocations: 139.8 kB / 484.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.4267, allocations: 4 kB / 484.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.4268, allocations: 12 kB / 484.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4268, allocations: 0 / 484.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4268, allocations: 4 kB / 484.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4279, allocations: 0.9024 MB / 485.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.428, allocations: 132.5 kB / 485.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.4281, allocations: 8 kB / 485.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.4285, allocations: 35.97 kB / 485.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.4286, allocations: 44.5 kB / 486 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4287, allocations: 20.06 kB / 486 MB, free: 9.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4288, allocations: 185.4 kB / 486.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4288, allocations: 3.938 kB / 486.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.4294, allocations: 187.5 kB / 486.3 MB, free: 9.621 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.001515/0.4309, allocations: 1.575 MB / 487.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.4317, allocations: 488.9 kB / 488.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4317, allocations: 0 / 488.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.4321, allocations: 251.1 kB / 488.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4324, allocations: 33.84 kB / 488.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.4345, allocations: 0.9014 MB / 489.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4348, allocations: 0.8539 MB / 490.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.4353, allocations: 79.41 kB / 490.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.4355, allocations: 183.4 kB / 490.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4355, allocations: 0 / 490.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4573, allocations: 8.797 MB / 499.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.4576, allocations: 197.4 kB / 499.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.491, allocations: 0 / 499.7 MB, free: 12.13 MB / 378.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