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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008493/0.0008493, allocations: 76.06 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8674/0.8674, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.081e-05, allocations: 6.219 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003679/0.0037, allocations: 3.788 MB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.005853, allocations: 1.541 MB / 323.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.006048, allocations: 15.94 kB / 323.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.007238, allocations: 0.9834 MB / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.007676, allocations: 246 kB / 325 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.008674, allocations: 0.7548 MB / 325.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007828/0.009457, allocations: 0.6414 MB / 326.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.009991, allocations: 439.4 kB / 326.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.01036, allocations: 387.1 kB / 327.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.01063, allocations: 259.3 kB / 327.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.01068, allocations: 59.98 kB / 327.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.01109, allocations: 255.6 kB / 327.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.01116, allocations: 131.5 kB / 327.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.01129, allocations: 211.4 kB / 328.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006972/0.01199, allocations: 0.9579 MB / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01199, allocations: 0 / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01199, allocations: 0 / 329.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.012, allocations: 0 / 329.1 MB, free: 11.68 MB / 298.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.001956/0.01396, allocations: 1.137 MB / 330.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01399, allocations: 8.922 kB / 330.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.323e-05/0.01409, allocations: 114.7 kB / 330.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.01466, allocations: 172.4 kB / 330.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.01481, allocations: 185.7 kB / 330.7 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.01484, allocations: 54.31 kB / 330.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.01492, allocations: 64.38 kB / 330.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.01575, allocations: 0.7406 MB / 331.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01577, allocations: 4.141 kB / 331.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.01581, allocations: 32.12 kB / 331.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01582, allocations: 16 kB / 331.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.01662, allocations: 0.5946 MB / 332.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.01905, allocations: 1.857 MB / 334 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.01986, allocations: 0.6665 MB / 334.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.02017, allocations: 250.6 kB / 334.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.02025, allocations: 20.67 kB / 335 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.02027, allocations: 39.22 kB / 335 MB, free: 5.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.02027, allocations: 0 / 335 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009749/0.02125, allocations: 0.7085 MB / 335.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.0213, allocations: 107.5 kB / 335.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.0215, allocations: 273.6 kB / 336.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.02152, allocations: 33.7 kB / 336.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.02164, allocations: 272.7 kB / 336.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.02176, allocations: 238.1 kB / 336.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02188, allocations: 122.6 kB / 336.7 MB, free: 3.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.02197, allocations: 346.8 kB / 337.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.02226, allocations: 205.9 kB / 337.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.02261, allocations: 327.1 kB / 337.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.02324, allocations: 0.5185 MB / 338.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02324, allocations: 0 / 338.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007672/0.02401, allocations: 0.6336 MB / 338.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.02402, allocations: 4 kB / 338.8 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02403, allocations: 0 / 338.8 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.02404, allocations: 8 kB / 338.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.02443, allocations: 163.7 kB / 338.9 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.02443, allocations: 7.938 kB / 338.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.02466, allocations: 75.73 kB / 339 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.02469, allocations: 27.97 kB / 339 MB, free: 1.402 MB / 298.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 () * 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.0001518/0.02484, allocations: 185.7 kB / 339.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.0249, allocations: 39.7 kB / 339.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.02568, allocations: 0.6107 MB / 339.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02569, allocations: 4 kB / 339.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.02569, allocations: 4 kB / 339.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.0257, allocations: 7.984 kB / 339.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.02729, allocations: 1.186 MB / 341.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.0273, allocations: 0 / 341.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.02759, allocations: 127.8 kB / 341.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02759, allocations: 4 kB / 341.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.02762, allocations: 15.98 kB / 341.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.02762, allocations: 4 kB / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.02762, allocations: 3.938 kB / 341.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.02885, allocations: 0.9823 MB / 342.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.02889, allocations: 51.59 kB / 342.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.02893, allocations: 12 kB / 342.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.02913, allocations: 27.98 kB / 342.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.0292, allocations: 52.5 kB / 342.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.02922, allocations: 20.06 kB / 342.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.02935, allocations: 193.2 kB / 342.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02935, allocations: 0 / 342.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.02976, allocations: 175.7 kB / 342.7 MB, free: 13.63 MB / 314.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 () * 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.001451/0.03121, allocations: 1.562 MB / 344.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.032, allocations: 0.5052 MB / 344.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.032, allocations: 4 kB / 344.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.03232, allocations: 252 kB / 345 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.03273, allocations: 52.48 kB / 345.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/0.03825, allocations: 4.206 MB / 349.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.03849, allocations: 241.1 kB / 349.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000372/0.03886, allocations: 83.39 kB / 349.6 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.03916, allocations: 192.4 kB / 349.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03916, allocations: 3.938 kB / 349.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.06985, allocations: 10.25 MB / 360 MB, free: 12.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.154, allocations: 7.938 kB / 360.1 MB, free: 12.32 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.856488548219204]