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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.05 kB / 16.3 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 178.8 kB / 17.19 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 241.1 MB, free: 388 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002792, allocations: 8 kB / 300.8 MB, free: 6.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 50.41 MB / 351.2 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004623/0.1117, allocations: 3.322 MB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.1151, allocations: 1.508 MB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/0.1157, allocations: 12 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.1165, allocations: 171.1 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1176, allocations: 215.3 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.1194, allocations: 0.6377 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.1203, allocations: 435.1 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.122, allocations: 0.8024 MB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.1225, allocations: 219.1 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.1229, allocations: 274.9 kB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.1229, allocations: 28 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006156/0.1236, allocations: 219.7 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1237, allocations: 95.66 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1238, allocations: 129.4 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1249, allocations: 0.6741 MB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1249, allocations: 0 / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1249, allocations: 0 / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1249, allocations: 0 / 359.9 MB, free: 11.17 MB / 302.1 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.004002/0.1289, allocations: 1.108 MB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/0.129, allocations: 8.031 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.1292, allocations: 110.5 kB / 361.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.1306, allocations: 179.1 kB / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1309, allocations: 231.9 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.131, allocations: 50 kB / 361.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.1311, allocations: 75.8 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1325, allocations: 0.7034 MB / 362.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.1326, allocations: 4 kB / 362.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.1326, allocations: 28 kB / 362.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.1327, allocations: 16 kB / 362.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1341, allocations: 0.6251 MB / 363.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.1381, allocations: 2.324 MB / 365.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.1406, allocations: 1.691 MB / 367.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.1408, allocations: 109.6 kB / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1408, allocations: 39.12 kB / 367.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 4.849e-06/0.1409, allocations: 0 / 367.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001812/0.1427, allocations: 0.7289 MB / 368 MB, free: 2.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.1428, allocations: 115.4 kB / 368.1 MB, free: 2.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1431, allocations: 268.8 kB / 368.3 MB, free: 2.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.1431, allocations: 33.7 kB / 368.4 MB, free: 2.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.1434, allocations: 264 kB / 368.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.1436, allocations: 216.8 kB / 368.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1436, allocations: 12 kB / 368.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.1439, allocations: 346.8 kB / 369.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.1444, allocations: 221.9 kB / 369.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.145, allocations: 313.3 kB / 369.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.1456, allocations: 255.2 kB / 370 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1456, allocations: 0 / 370 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.2067/0.3523, allocations: 0.6376 MB / 370.6 MB, free: 24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3524, allocations: 8.656 kB / 370.6 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3524, allocations: 1.5 kB / 370.6 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.3524, allocations: 6.578 kB / 370.6 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.3533, allocations: 169.3 kB / 370.8 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.3533, allocations: 5.828 kB / 370.8 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.3539, allocations: 76.25 kB / 370.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.354, allocations: 25.14 kB / 370.9 MB, free: 24 MB / 302.1 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.0003284/0.3543, allocations: 187.6 kB / 371.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3544, allocations: 36 kB / 371.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.3559, allocations: 0.6298 MB / 371.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3559, allocations: 7.547 kB / 371.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3559, allocations: 2.844 kB / 371.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.356, allocations: 6.156 kB / 371.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3583, allocations: 1.314 MB / 373.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3583, allocations: 1.375 kB / 373.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.3589, allocations: 130.7 kB / 373.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3589, allocations: 7.031 kB / 373.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.359, allocations: 14.5 kB / 373.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.359, allocations: 4.094 kB / 373.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.359, allocations: 0.5 kB / 373.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.3607, allocations: 1.02 MB / 374.2 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3608, allocations: 122.3 kB / 374.3 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3609, allocations: 13.72 kB / 374.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.3613, allocations: 39.22 kB / 374.4 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3615, allocations: 45.39 kB / 374.4 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.3615, allocations: 18.62 kB / 374.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3617, allocations: 189.8 kB / 374.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3617, allocations: 0 / 374.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.3624, allocations: 178.2 kB / 374.8 MB, free: 22.93 MB / 302.1 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.001894/0.3643, allocations: 1.663 MB / 376.5 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3655, allocations: 0.5504 MB / 377 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3655, allocations: 5.25 kB / 377 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.366, allocations: 282.9 kB / 377.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3664, allocations: 43.02 kB / 377.4 MB, free: 21.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.3712, allocations: 3.675 MB / 381 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3716, allocations: 0.8574 MB / 381.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004251/0.372, allocations: 81.86 kB / 382 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3722, allocations: 181.1 kB / 382.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3722, allocations: 0 / 382.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3941, allocations: 8.473 MB / 390.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.3943, allocations: 214.5 kB / 390.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.328, allocations: 1.375 kB / 390.8 MB, free: 15.49 MB / 302.1 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