Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 124.5 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 59.89 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.106, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006778/0.1128, allocations: 4.209 MB / 430.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2167/0.3295, allocations: 1.732 MB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.33, allocations: 11.25 kB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.3324, allocations: 1.013 MB / 433.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3335, allocations: 243.6 kB / 433.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3354, allocations: 0.7716 MB / 434.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009267/0.3363, allocations: 0.6087 MB / 434.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.3371, allocations: 374.3 kB / 435.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.3378, allocations: 272.6 kB / 435.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.3383, allocations: 331.4 kB / 435.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.3384, allocations: 57.91 kB / 435.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009664/0.3394, allocations: 299.1 kB / 436.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3395, allocations: 132 kB / 436.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.3398, allocations: 311 kB / 436.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.3413, allocations: 0.9388 MB / 437.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3413, allocations: 1.156 kB / 437.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3413, allocations: 0 / 437.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.3413, allocations: 0 / 437.6 MB, free: 6.469 MB / 350.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.004147/0.3455, allocations: 1.242 MB / 438.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3455, allocations: 8.594 kB / 438.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.3457, allocations: 109.3 kB / 438.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.3471, allocations: 180.4 kB / 439.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3473, allocations: 239.7 kB / 439.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.3474, allocations: 53.66 kB / 439.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3475, allocations: 69.17 kB / 439.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3489, allocations: 0.7025 MB / 440.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.349, allocations: 3.938 kB / 440.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.349, allocations: 26.53 kB / 440.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.349, allocations: 21.38 kB / 440.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3503, allocations: 0.6003 MB / 440.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.3537, allocations: 2.311 MB / 443.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.3551, allocations: 1.58 MB / 444.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.3556, allocations: 245.5 kB / 444.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.3558, allocations: 189 kB / 445.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3558, allocations: 42.75 kB / 445.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.524e-06/0.3558, allocations: 0 / 445.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001672/0.3575, allocations: 0.7076 MB / 445.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.3575, allocations: 110.2 kB / 446 MB, free: 1.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.3579, allocations: 267.1 kB / 446.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3579, allocations: 36.08 kB / 446.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.358, allocations: 267.7 kB / 446.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3582, allocations: 231.7 kB / 446.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3584, allocations: 121 kB / 446.9 MB, free: 480 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.3584, allocations: 347 kB / 447.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.3589, allocations: 215.4 kB / 447.4 MB, free: 64 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.3594, allocations: 300 kB / 447.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3605, allocations: 0.5204 MB / 448.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3605, allocations: 1.375 kB / 448.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001348/0.3619, allocations: 0.6261 MB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3619, allocations: 5.156 kB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.3619, allocations: 9.531 kB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3619, allocations: 5.188 kB / 448.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.3626, allocations: 157.8 kB / 449.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3627, allocations: 8.375 kB / 449.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.3632, allocations: 77.36 kB / 449.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3633, allocations: 23.86 kB / 449.2 MB, free: 15.32 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.3636, allocations: 188 kB / 449.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3637, allocations: 41.64 kB / 449.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3652, allocations: 0.6016 MB / 450 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3652, allocations: 7.531 kB / 450 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3652, allocations: 0.5625 kB / 450 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3653, allocations: 4.906 kB / 450 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3679, allocations: 1.303 MB / 451.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3679, allocations: 5.344 kB / 451.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.3685, allocations: 123.9 kB / 451.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.3685, allocations: 5.953 kB / 451.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.3686, allocations: 18.73 kB / 451.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.3686, allocations: 3.375 kB / 451.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3686, allocations: 4 kB / 451.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.3704, allocations: 0.9751 MB / 452.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.3706, allocations: 128 kB / 452.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.3706, allocations: 16.86 kB / 452.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3711, allocations: 26.38 kB / 452.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3712, allocations: 39.28 kB / 452.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.3712, allocations: 19.91 kB / 452.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3714, allocations: 194.5 kB / 452.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3714, allocations: 0 / 452.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007505/0.3722, allocations: 183.9 kB / 453 MB, free: 13.29 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002332/0.3745, allocations: 1.568 MB / 454.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3758, allocations: 0.5013 MB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3758, allocations: 0 / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.3763, allocations: 249.9 kB / 455.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.3769, allocations: 58.62 kB / 455.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/0.3843, allocations: 4.201 MB / 459.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3848, allocations: 0.8452 MB / 460.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.3852, allocations: 80.98 kB / 460.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.3855, allocations: 193.4 kB / 460.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3855, allocations: 1.031 kB / 460.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.425, allocations: 9.508 MB / 470.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/9.058, allocations: 3.859 kB / 470.2 MB, free: 4.039 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.66009947899147]