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.001895/0.001895, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002405/0.002405, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.00163/0.00163, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2453, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005747/0.2511, allocations: 3.806 MB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.254, allocations: 1.615 MB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.2541, allocations: 12 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.2565, allocations: 0.9365 MB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.257, allocations: 246.3 kB / 437.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.2585, allocations: 0.7271 MB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.2592, allocations: 0.6105 MB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.2598, allocations: 425.2 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.2602, allocations: 271 kB / 439.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.2606, allocations: 294.6 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.2607, allocations: 56 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.2612, allocations: 279.7 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2613, allocations: 127.5 kB / 440.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.2615, allocations: 254.8 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2626, allocations: 0.9495 MB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2626, allocations: 0 / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2626, allocations: 4 kB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2626, allocations: 0 / 441.7 MB, free: 12.02 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.003536/0.2662, allocations: 1.157 MB / 442.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2662, allocations: 12.03 kB / 442.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.2663, allocations: 118.7 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.2676, allocations: 176.4 kB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2678, allocations: 186.4 kB / 443.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.2678, allocations: 50.38 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2679, allocations: 68.33 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2692, allocations: 0.7326 MB / 444.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2693, allocations: 3.984 kB / 444.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.2693, allocations: 28 kB / 444.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2693, allocations: 20 kB / 444.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2706, allocations: 0.5984 MB / 444.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.274, allocations: 1.856 MB / 446.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.2753, allocations: 0.6812 MB / 447.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.2758, allocations: 243.7 kB / 447.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.276, allocations: 28.56 kB / 447.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.276, allocations: 43.22 kB / 447.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.276, allocations: 3.938 kB / 447.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001589/0.2776, allocations: 0.7124 MB / 448.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.2777, allocations: 111.5 kB / 448.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.278, allocations: 264.8 kB / 448.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.278, allocations: 33.7 kB / 448.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.2782, allocations: 272.7 kB / 449 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.2784, allocations: 230 kB / 449.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.2786, allocations: 122.6 kB / 449.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2787, allocations: 350.7 kB / 449.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.2792, allocations: 222 kB / 449.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.2798, allocations: 323.1 kB / 450.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2808, allocations: 0.5224 MB / 450.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2808, allocations: 0 / 450.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001291/0.2821, allocations: 0.6339 MB / 451.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2821, allocations: 4 kB / 451.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.2822, allocations: 4 kB / 451.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2822, allocations: 4 kB / 451.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.2829, allocations: 159.7 kB / 451.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2829, allocations: 4 kB / 451.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.2834, allocations: 79.48 kB / 451.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.2834, allocations: 23.98 kB / 451.7 MB, free: 1.695 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.0002522/0.2837, allocations: 193.7 kB / 451.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2838, allocations: 35.77 kB / 451.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.2851, allocations: 0.599 MB / 452.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.2851, allocations: 11.94 kB / 452.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2851, allocations: 0 / 452.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2851, allocations: 7.969 kB / 452.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.2874, allocations: 1.194 MB / 453.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2874, allocations: 0 / 453.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.288, allocations: 123.9 kB / 453.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.288, allocations: 4 kB / 453.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.288, allocations: 15.94 kB / 453.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.288, allocations: 7.938 kB / 453.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.288, allocations: 0 / 453.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.2898, allocations: 0.9824 MB / 454.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.2899, allocations: 55.56 kB / 454.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.29, allocations: 19.88 kB / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.2904, allocations: 31.92 kB / 454.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.2905, allocations: 48.62 kB / 455 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.2905, allocations: 16 kB / 455 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.2907, allocations: 192.5 kB / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2907, allocations: 0 / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005959/0.2913, allocations: 183.6 kB / 455.4 MB, free: 13.91 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.002203/0.2935, allocations: 1.573 MB / 456.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.2947, allocations: 0.5052 MB / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2947, allocations: 0 / 457.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.2952, allocations: 244 kB / 457.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.2957, allocations: 54.48 kB / 457.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.3025, allocations: 4.198 MB / 461.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3027, allocations: 237.1 kB / 462.2 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003613/0.3031, allocations: 83.39 kB / 462.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.3034, allocations: 191.4 kB / 462.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3034, allocations: 0 / 462.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.3439, allocations: 10.27 MB / 472.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.86, allocations: 3.188 kB / 472.7 MB, free: 12.6 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.340046793222427]