Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001413/0.001413, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2674, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006517/0.2739, allocations: 4.696 MB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2768, allocations: 1.654 MB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2771, allocations: 20 kB / 437.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.2802, allocations: 1.31 MB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009614/0.2812, allocations: 317.6 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2826, allocations: 0.6216 MB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000915/0.2835, allocations: 0.8052 MB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.2845, allocations: 0.679 MB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.285, allocations: 358.7 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.2855, allocations: 466.1 kB / 442 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.2856, allocations: 72 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.2862, allocations: 263.8 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2863, allocations: 171.4 kB / 442.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.2866, allocations: 342.4 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2879, allocations: 1.216 MB / 444 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2879, allocations: 3.984 kB / 444 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2879, allocations: 0 / 444 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.288, allocations: 0 / 444 MB, free: 9.652 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003958/0.2919, allocations: 1.4 MB / 445.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.292, allocations: 16.02 kB / 445.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.2921, allocations: 144.3 kB / 445.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.2938, allocations: 244.2 kB / 445.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.294, allocations: 213.3 kB / 446 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.2941, allocations: 74.38 kB / 446.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2943, allocations: 96.38 kB / 446.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2958, allocations: 0.9462 MB / 447.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.2958, allocations: 7.953 kB / 447.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.2959, allocations: 40 kB / 447.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.296, allocations: 24 kB / 447.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2973, allocations: 0.7853 MB / 448 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.3025, allocations: 2.823 MB / 450.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3044, allocations: 0.8855 MB / 451.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.3049, allocations: 322 kB / 452 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.305, allocations: 36.97 kB / 452.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3051, allocations: 47.5 kB / 452.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.3051, allocations: 0 / 452.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002126/0.3072, allocations: 1.003 MB / 453.1 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3073, allocations: 86.11 kB / 453.2 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.3077, allocations: 392.2 kB / 453.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.3078, allocations: 41.64 kB / 453.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.3081, allocations: 400.2 kB / 454 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.3083, allocations: 309.3 kB / 454.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.3086, allocations: 174.9 kB / 454.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3088, allocations: 362.7 kB / 454.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.3093, allocations: 270.5 kB / 455.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.3099, allocations: 479.4 kB / 455.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.311, allocations: 0.7745 MB / 456.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3111, allocations: 0 / 456.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001793/0.3128, allocations: 0.9843 MB / 457.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3129, allocations: 8 kB / 457.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3129, allocations: 8 kB / 457.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.3133, allocations: 124 kB / 457.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.3141, allocations: 207.6 kB / 457.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.3188, allocations: 5.685 MB / 463.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.3194, allocations: 99.19 kB / 463.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.3195, allocations: 43.98 kB / 463.5 MB, free: 5.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003607/0.3199, allocations: 233.7 kB / 463.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.32, allocations: 51.67 kB / 463.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3215, allocations: 0.8442 MB / 464.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3215, allocations: 8 kB / 464.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3215, allocations: 11.94 kB / 464.6 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3216, allocations: 3.984 kB / 464.6 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.3246, allocations: 1.674 MB / 466.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3246, allocations: 0 / 466.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.3252, allocations: 143.8 kB / 466.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.3255, allocations: 107.6 kB / 466.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.3255, allocations: 20 kB / 466.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.3299, allocations: 5.284 MB / 471.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3299, allocations: 7.984 kB / 471.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.332, allocations: 1.273 MB / 473.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3321, allocations: 67.75 kB / 473.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.3322, allocations: 27.94 kB / 473.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.3326, allocations: 16 kB / 473.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3327, allocations: 72.47 kB / 473.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.3327, allocations: 24 kB / 473.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.3331, allocations: 263.1 kB / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3331, allocations: 0 / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009999/0.3341, allocations: 267.5 kB / 473.9 MB, free: 10.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002543/0.3366, allocations: 1.883 MB / 475.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.3384, allocations: 1.138 MB / 476.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3384, allocations: 3.938 kB / 476.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.3394, allocations: 0.76 MB / 477.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.34, allocations: 53.44 kB / 477.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008275/0.3483, allocations: 5.686 MB / 483.4 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3486, allocations: 318.4 kB / 483.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.349, allocations: 113 kB / 483.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3494, allocations: 243.4 kB / 484.1 MB, free: 15.54 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3494, allocations: 4 kB / 484.1 MB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07147/0.4209, allocations: 14.17 MB / 498.2 MB, free: 1.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 15.19 kB / 498.2 MB, free: 1.578 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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_Leakage_CylinderLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterCylinder1.port_p.reference.gamma in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.850121512979968]