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.001655/0.001655, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002148/0.002148, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.00219/0.00219, allocations: 51.91 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.255, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005663/0.2606, allocations: 3.802 MB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.264, allocations: 1.615 MB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.2643, allocations: 12 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.2667, allocations: 0.9441 MB / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.2673, allocations: 246.4 kB / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.2692, allocations: 0.7193 MB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007135/0.2699, allocations: 0.6105 MB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.2705, allocations: 445.2 kB / 439.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.2709, allocations: 267 kB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.2713, allocations: 334.6 kB / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.2714, allocations: 56 kB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.272, allocations: 287.7 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2721, allocations: 131.6 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.2723, allocations: 250.8 kB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.2734, allocations: 0.9456 MB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.2734, allocations: 4 kB / 441.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2734, allocations: 0 / 441.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2734, allocations: 0 / 441.7 MB, free: 11.95 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.003409/0.2768, allocations: 1.168 MB / 442.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2769, allocations: 8.031 kB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.277, allocations: 110.7 kB / 443 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.2782, allocations: 184.3 kB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2784, allocations: 182.4 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.2784, allocations: 50.38 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2786, allocations: 72.33 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2798, allocations: 0.7327 MB / 444.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2799, allocations: 3.984 kB / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.2799, allocations: 24 kB / 444.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.2799, allocations: 20 kB / 444.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2812, allocations: 0.5984 MB / 444.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.2845, allocations: 1.856 MB / 446.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.2858, allocations: 0.6773 MB / 447.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.2863, allocations: 243.6 kB / 447.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.2864, allocations: 32.62 kB / 447.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2865, allocations: 39.22 kB / 447.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.274e-06/0.2865, allocations: 0 / 447.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001608/0.2881, allocations: 0.7086 MB / 448.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.2882, allocations: 111.5 kB / 448.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.2885, allocations: 272.8 kB / 448.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.2885, allocations: 41.64 kB / 448.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2887, allocations: 268.8 kB / 449.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.2889, allocations: 245.9 kB / 449.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2891, allocations: 118.6 kB / 449.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2893, allocations: 346.7 kB / 449.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.2897, allocations: 209.9 kB / 450 MB, free: 3.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.2903, allocations: 331.1 kB / 450.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2913, allocations: 0.5186 MB / 450.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2913, allocations: 0 / 450.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001272/0.2926, allocations: 0.6336 MB / 451.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2926, allocations: 8 kB / 451.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2926, allocations: 0 / 451.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2926, allocations: 4 kB / 451.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.2934, allocations: 159.8 kB / 451.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2934, allocations: 4 kB / 451.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.2939, allocations: 79.69 kB / 451.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.2939, allocations: 23.98 kB / 451.7 MB, free: 1.625 MB / 350.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.0002465/0.2942, allocations: 193.6 kB / 451.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.2943, allocations: 35.77 kB / 451.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2955, allocations: 0.6029 MB / 452.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2955, allocations: 12 kB / 452.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2955, allocations: 0 / 452.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2956, allocations: 3.984 kB / 452.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.2977, allocations: 1.182 MB / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2977, allocations: 0 / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.2983, allocations: 127.8 kB / 453.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2983, allocations: 8 kB / 453.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.2983, allocations: 19.92 kB / 453.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.2983, allocations: 7.938 kB / 453.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2983, allocations: 0 / 453.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3, allocations: 0.9823 MB / 454.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.3001, allocations: 55.59 kB / 454.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.3002, allocations: 20 kB / 455 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.3006, allocations: 27.97 kB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.3007, allocations: 40.58 kB / 455 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.3007, allocations: 23.98 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3009, allocations: 192.5 kB / 455.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3009, allocations: 0 / 455.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.3015, allocations: 175.7 kB / 455.4 MB, free: 13.86 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.002152/0.3036, allocations: 1.577 MB / 457 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.3047, allocations: 0.5055 MB / 457.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3047, allocations: 4.062 kB / 457.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3052, allocations: 251.6 kB / 457.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3058, allocations: 48.36 kB / 457.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.3124, allocations: 4.187 MB / 462 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3127, allocations: 249.1 kB / 462.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.313, allocations: 71.41 kB / 462.3 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.3133, allocations: 191.4 kB / 462.5 MB, free: 6.609 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3133, allocations: 0 / 462.5 MB, free: 6.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.3555, allocations: 10.49 MB / 473 MB, free: 12.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.79, allocations: 4.062 kB / 473 MB, free: 12.32 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.31787773501128]