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.001355/0.001355, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 235.5 MB, free: 2.906 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.001004/0.001004, allocations: 99.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 4 kB / 343.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 50.41 MB / 394.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5408, allocations: 83.77 MB / 478.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004315/0.5413, allocations: 83.95 kB / 478.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05131/0.5926, allocations: 19.61 MB / 497.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5927, allocations: 0 / 497.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.5928, allocations: 12 kB / 497.8 MB, free: 15.73 MB / 378.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.002929/0.5957, allocations: 0.9521 MB / 498.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5958, allocations: 12.03 kB / 498.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.596, allocations: 114.5 kB / 498.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.5972, allocations: 175.1 kB / 499.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.5975, allocations: 234.9 kB / 499.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.5976, allocations: 50 kB / 499.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.5977, allocations: 60 kB / 499.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5989, allocations: 0.67 MB / 0.4884 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.599, allocations: 4 kB / 0.4884 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.5991, allocations: 28 kB / 0.4884 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.5991, allocations: 19.95 kB / 0.4884 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.6001, allocations: 0.5441 MB / 0.4889 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.604, allocations: 2.363 MB / 0.4912 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6061, allocations: 1.644 MB / 0.4929 GB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.6065, allocations: 246.5 kB / 0.4931 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.6067, allocations: 97.69 kB / 0.4932 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.6068, allocations: 55.09 kB / 0.4932 GB, free: 7.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.506e-06/0.6068, allocations: 0 / 0.4932 GB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009655/0.6077, allocations: 462.6 kB / 0.4937 GB, free: 7.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.6078, allocations: 111.3 kB / 0.4938 GB, free: 7.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.6082, allocations: 229.1 kB / 0.494 GB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.6082, allocations: 37.7 kB / 0.494 GB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.6084, allocations: 267.9 kB / 0.4943 GB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.6086, allocations: 220.8 kB / 0.4945 GB, free: 6.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.6087, allocations: 16 kB / 0.4945 GB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.6089, allocations: 354.8 kB / 0.4949 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.6092, allocations: 177.6 kB / 0.495 GB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.6096, allocations: 263.4 kB / 0.4953 GB, free: 5.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.6101, allocations: 226 kB / 0.4955 GB, free: 5.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6101, allocations: 0 / 0.4955 GB, free: 5.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001017/0.6111, allocations: 0.5701 MB / 0.496 GB, free: 4.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6111, allocations: 5.406 kB / 0.4961 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6111, allocations: 192 / 0.4961 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.6112, allocations: 12 kB / 0.4961 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.612, allocations: 167.8 kB / 0.4962 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.612, allocations: 4 kB / 0.4962 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.6125, allocations: 79.27 kB / 0.4963 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.6126, allocations: 27.98 kB / 0.4963 GB, free: 4.703 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.0001776/0.6128, allocations: 144.8 kB / 0.4965 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.6129, allocations: 35.62 kB / 0.4965 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.614, allocations: 0.546 MB / 0.497 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.614, allocations: 7.984 kB / 0.497 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.614, allocations: 4 kB / 0.497 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.614, allocations: 3.984 kB / 0.4971 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.6161, allocations: 1.214 MB / 0.4982 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6161, allocations: 7.938 kB / 0.4982 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.6167, allocations: 131.8 kB / 0.4984 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/0.6168, allocations: 4 kB / 0.4984 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.6168, allocations: 15.94 kB / 0.4984 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.6168, allocations: 7.953 kB / 0.4984 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6169, allocations: 0 / 0.4984 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.6182, allocations: 0.9025 MB / 0.4993 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.6184, allocations: 128.5 kB / 0.4994 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.6185, allocations: 15.95 kB / 0.4994 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.6189, allocations: 35.97 kB / 0.4995 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.619, allocations: 48.56 kB / 0.4995 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.6191, allocations: 16 kB / 0.4995 GB, free: 1.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.6193, allocations: 189.4 kB / 0.4997 GB, free: 1.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6193, allocations: 0 / 0.4997 GB, free: 1.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006471/0.6199, allocations: 179.5 kB / 0.4999 GB, free: 0.9688 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.0019/0.6219, allocations: 1.575 MB / 0.5014 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.6228, allocations: 488.9 kB / 0.5019 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6229, allocations: 0 / 0.5019 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.6233, allocations: 247.1 kB / 0.5021 GB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.6237, allocations: 37.62 kB / 0.5021 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.6262, allocations: 0.9126 MB / 0.503 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.6268, allocations: 0.8539 MB / 0.5039 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004456/0.6272, allocations: 79.41 kB / 0.5039 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.6275, allocations: 183.3 kB / 0.5041 GB, free: 12.51 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6276, allocations: 0 / 0.5041 GB, free: 12.51 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.654, allocations: 8.834 MB / 0.5127 GB, free: 3.863 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.6543, allocations: 188.4 kB / 0.5129 GB, free: 3.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.18, allocations: 0 / 0.5129 GB, free: 3.637 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