Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 176.4 kB / 8.344 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 87.5 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.973e-05, allocations: 4 kB / 337.2 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 50.41 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4588, allocations: 83.11 MB / 470.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4591, allocations: 83.95 kB / 470.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04795/0.507, allocations: 19.39 MB / 490.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5071, allocations: 0 / 490.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.5071, allocations: 12 kB / 490.2 MB, free: 7.875 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.002488/0.5096, allocations: 0.9521 MB / 491.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.5096, allocations: 8.031 kB / 491.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.5108, allocations: 187 kB / 491.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.511, allocations: 231 kB / 491.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.511, allocations: 23.94 kB / 491.6 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.5111, allocations: 40 kB / 491.6 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009175/0.512, allocations: 0.5155 MB / 492.1 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.513, allocations: 0.5607 MB / 492.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5131, allocations: 7.984 kB / 492.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.5131, allocations: 3.953 kB / 492.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.5132, allocations: 16 kB / 492.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.5164, allocations: 2.232 MB / 494.9 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.5182, allocations: 1.609 MB / 496.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.5185, allocations: 219.8 kB / 496.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5187, allocations: 93.66 kB / 496.8 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5187, allocations: 51.14 kB / 496.9 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 1.903e-06/0.5187, allocations: 0 / 496.9 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001207/0.5199, allocations: 0.5258 MB / 497.4 MB, free: 120 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5201, allocations: 111.4 kB / 497.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.5203, allocations: 210.9 kB / 497.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.5204, allocations: 25.7 kB / 497.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.5205, allocations: 271.9 kB / 498 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.5207, allocations: 212.8 kB / 498.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.5208, allocations: 0 / 498.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.521, allocations: 346.8 kB / 498.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.5213, allocations: 173.5 kB / 498.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.5216, allocations: 249.9 kB / 499 MB, free: 14.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.5224, allocations: 320.3 kB / 499.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5224, allocations: 4.031 kB / 499.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001287/0.5237, allocations: 0.6286 MB / 499.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5238, allocations: 5.25 kB / 499.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5238, allocations: 4 kB / 499.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5238, allocations: 15.92 kB / 500 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.5245, allocations: 168 kB / 0.4884 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5246, allocations: 7.938 kB / 0.4884 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.5251, allocations: 59.36 kB / 0.4885 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.5251, allocations: 23.98 kB / 0.4885 GB, free: 13.24 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 () * 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.0001244/0.5252, allocations: 116.8 kB / 0.4886 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001216/0.5265, allocations: 0.5297 MB / 0.4891 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.5266, allocations: 39.66 kB / 0.4891 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5279, allocations: 0.6048 MB / 0.4897 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5279, allocations: 12 kB / 0.4898 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5279, allocations: 0 / 0.4898 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5279, allocations: 7.922 kB / 0.4898 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.53, allocations: 1.199 MB / 0.4909 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.53, allocations: 3.984 kB / 0.4909 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.5306, allocations: 131.8 kB / 0.4911 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5306, allocations: 7.984 kB / 0.4911 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5306, allocations: 4 kB / 0.4911 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.5306, allocations: 4 kB / 0.4911 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5306, allocations: 3.953 kB / 0.4911 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.5322, allocations: 0.961 MB / 0.492 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.5323, allocations: 128.6 kB / 0.4921 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.5323, allocations: 7.984 kB / 0.4921 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.5327, allocations: 27.92 kB / 0.4922 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.5328, allocations: 40.45 kB / 0.4922 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5329, allocations: 19.98 kB / 0.4922 GB, free: 9.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.533, allocations: 172.5 kB / 0.4924 GB, free: 9.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.533, allocations: 4.062 kB / 0.4924 GB, free: 9.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.5336, allocations: 159.4 kB / 0.4926 GB, free: 8.961 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 () * 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.001998/0.5356, allocations: 1.618 MB / 0.4941 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.5364, allocations: 458.2 kB / 0.4946 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5364, allocations: 0 / 0.4946 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.5367, allocations: 230 kB / 0.4948 GB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5371, allocations: 28.19 kB / 0.4948 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.5392, allocations: 0.8445 MB / 0.4956 GB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5396, allocations: 0.8536 MB / 0.4965 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.54, allocations: 83.28 kB / 0.4966 GB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.5403, allocations: 187.3 kB / 0.4967 GB, free: 4.582 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5403, allocations: 0 / 0.4967 GB, free: 4.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.5673, allocations: 7.809 MB / 0.5044 GB, free: 12.81 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.5675, allocations: 175.3 kB / 0.5045 GB, free: 12.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.953, allocations: 0 / 0.5045 GB, free: 12.62 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat