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.001373/0.001373, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001442/0.001442, allocations: 190.2 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.446/1.446, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001769/0.001769, allocations: 51.91 kB / 370.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 52.17 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005877/0.2506, allocations: 3.8 MB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.2535, allocations: 1.53 MB / 427.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.2537, allocations: 12 kB / 427.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.2562, allocations: 0.9511 MB / 428.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006704/0.2569, allocations: 230.3 kB / 429.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.2587, allocations: 0.7548 MB / 429.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007664/0.2594, allocations: 0.6184 MB / 430.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.2602, allocations: 440.8 kB / 430.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.2606, allocations: 275 kB / 431.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.261, allocations: 298.7 kB / 431.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.2611, allocations: 56 kB / 431.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.2617, allocations: 251.8 kB / 431.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2618, allocations: 135.5 kB / 431.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.262, allocations: 250.8 kB / 432.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.2633, allocations: 0.93 MB / 433.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2633, allocations: 0 / 433.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2633, allocations: 0 / 433.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.2633, allocations: 4 kB / 433.1 MB, free: 3.844 MB / 334.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.003481/0.2668, allocations: 1.141 MB / 434.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2668, allocations: 12.03 kB / 434.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.2669, allocations: 110.7 kB / 434.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.268, allocations: 176.4 kB / 434.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2682, allocations: 182.5 kB / 434.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.2683, allocations: 54.38 kB / 434.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2684, allocations: 64.38 kB / 434.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.2697, allocations: 0.7326 MB / 435.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2698, allocations: 7.953 kB / 435.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.2698, allocations: 28 kB / 435.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2698, allocations: 16 kB / 435.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2711, allocations: 0.5947 MB / 436.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.2746, allocations: 1.864 MB / 438 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2759, allocations: 0.662 MB / 438.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.2765, allocations: 255.6 kB / 439 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.2766, allocations: 20.64 kB / 439 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.2766, allocations: 43.22 kB / 439 MB, free: 13.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.534e-06/0.2766, allocations: 0 / 439 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001694/0.2783, allocations: 0.7007 MB / 439.7 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.2784, allocations: 115.6 kB / 439.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.2787, allocations: 268.8 kB / 440.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.2788, allocations: 37.7 kB / 440.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.279, allocations: 268.7 kB / 440.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.2792, allocations: 234 kB / 440.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.2794, allocations: 118.6 kB / 440.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.2796, allocations: 350.7 kB / 441.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.2801, allocations: 209.9 kB / 441.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.2807, allocations: 331.1 kB / 441.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.2817, allocations: 0.5107 MB / 442.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2817, allocations: 4.031 kB / 442.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001327/0.2831, allocations: 0.6297 MB / 442.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2831, allocations: 8 kB / 442.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2831, allocations: 0 / 442.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.2831, allocations: 4 kB / 442.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.2838, allocations: 167.9 kB / 442.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2838, allocations: 4 kB / 442.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.2843, allocations: 75.53 kB / 443 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.2844, allocations: 20 kB / 443 MB, free: 9.578 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.0002516/0.2846, allocations: 185.7 kB / 443.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.2847, allocations: 43.75 kB / 443.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2861, allocations: 0.6067 MB / 443.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2861, allocations: 8 kB / 443.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2861, allocations: 7.938 kB / 443.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2861, allocations: 7.984 kB / 443.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2883, allocations: 1.186 MB / 445.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2883, allocations: 4 kB / 445.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.2889, allocations: 127.8 kB / 445.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2889, allocations: 4 kB / 445.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.289, allocations: 19.94 kB / 445.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.289, allocations: 0 / 445.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.289, allocations: 4 kB / 445.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2908, allocations: 0.9707 MB / 446.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.2908, allocations: 51.61 kB / 446.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.2909, allocations: 16 kB / 446.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2913, allocations: 31.97 kB / 446.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.2914, allocations: 40.58 kB / 446.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.2914, allocations: 23.98 kB / 446.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.2916, allocations: 188.5 kB / 446.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2916, allocations: 0 / 446.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.2922, allocations: 179.6 kB / 446.7 MB, free: 5.805 MB / 350.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.002263/0.2945, allocations: 1.569 MB / 448.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2957, allocations: 0.5013 MB / 448.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2957, allocations: 384 / 448.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.2962, allocations: 247.6 kB / 449 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.2968, allocations: 59.47 kB / 449.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/0.3036, allocations: 4.237 MB / 453.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3039, allocations: 245.1 kB / 453.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003842/0.3043, allocations: 79.39 kB / 453.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.3046, allocations: 191.3 kB / 453.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3046, allocations: 0 / 453.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.3448, allocations: 10.11 MB / 463.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.87, allocations: 5.875 kB / 463.9 MB, free: 4.609 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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: 14.35655082622543]