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.0007975/0.0007975, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001125/0.001125, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8977/0.8977, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.134e-06/2.134e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.257e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006163/0.006185, allocations: 4.706 MB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.009451, allocations: 1.662 MB / 330.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.009827, allocations: 16 kB / 331 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.01259, allocations: 1.383 MB / 332.3 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.01337, allocations: 345.4 kB / 332.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.0146, allocations: 0.6109 MB / 333.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009934/0.01559, allocations: 0.8397 MB / 334.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.01671, allocations: 0.6674 MB / 334.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.01747, allocations: 0.5105 MB / 335.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.01801, allocations: 359 kB / 335.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.01814, allocations: 76 kB / 335.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.0187, allocations: 251.6 kB / 336 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.01884, allocations: 179.3 kB / 336.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.01916, allocations: 287.3 kB / 336.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.02022, allocations: 1.23 MB / 337.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02023, allocations: 0 / 337.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02023, allocations: 0 / 337.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.02025, allocations: 0 / 337.7 MB, free: 2.797 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002348/0.0226, allocations: 1.39 MB / 339.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.02264, allocations: 8.031 kB / 339.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.02276, allocations: 152.4 kB / 339.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.02358, allocations: 240.2 kB / 339.4 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.02373, allocations: 204.6 kB / 339.6 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.02378, allocations: 70.38 kB / 339.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02388, allocations: 104.4 kB / 339.8 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009928/0.02488, allocations: 0.9427 MB / 340.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.0249, allocations: 8.141 kB / 340.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.02496, allocations: 44.12 kB / 340.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.02497, allocations: 24 kB / 340.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.02588, allocations: 0.7814 MB / 341.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.02911, allocations: 2.84 MB / 344.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.03023, allocations: 0.8748 MB / 345.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.03058, allocations: 333 kB / 345.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.03064, allocations: 32.97 kB / 345.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.03066, allocations: 39.56 kB / 345.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.03066, allocations: 3.938 kB / 345.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001482/0.03215, allocations: 1.007 MB / 346.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.0322, allocations: 90.11 kB / 346.8 MB, free: 9.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.03249, allocations: 388.2 kB / 347.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.03253, allocations: 41.7 kB / 347.2 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.03269, allocations: 388.2 kB / 347.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.03283, allocations: 309.3 kB / 347.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.03299, allocations: 174.9 kB / 348.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.03309, allocations: 362.8 kB / 348.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.03339, allocations: 262.5 kB / 348.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.03379, allocations: 483.4 kB / 349.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.03453, allocations: 0.7745 MB / 350 MB, free: 6.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.03454, allocations: 0 / 350 MB, free: 6.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001098/0.03564, allocations: 0.9848 MB / 350.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.03565, allocations: 8 kB / 350.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.03566, allocations: 12 kB / 351 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.0359, allocations: 119.4 kB / 351.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.03631, allocations: 211.6 kB / 351.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.03924, allocations: 5.673 MB / 357 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.03952, allocations: 99.42 kB / 357.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.03956, allocations: 40 kB / 357.1 MB, free: 14.41 MB / 330.7 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.0001955/0.03976, allocations: 234.4 kB / 357.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.03982, allocations: 63.58 kB / 357.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/0.04075, allocations: 0.8403 MB / 358.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.04076, allocations: 8 kB / 358.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.04076, allocations: 4 kB / 358.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.04077, allocations: 3.984 kB / 358.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.04251, allocations: 1.675 MB / 359.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.04252, allocations: 11.97 kB / 359.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.0428, allocations: 139.8 kB / 360.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.04296, allocations: 107.4 kB / 360.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.04299, allocations: 19.98 kB / 360.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.04545, allocations: 5.277 MB / 365.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.04545, allocations: 4 kB / 365.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.04669, allocations: 1.273 MB / 366.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.04675, allocations: 71.5 kB / 366.8 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.04679, allocations: 20 kB / 366.8 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.04698, allocations: 20 kB / 366.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.04707, allocations: 72.41 kB / 366.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.0471, allocations: 31.98 kB / 367 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.04729, allocations: 255.1 kB / 367.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04729, allocations: 0 / 367.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005978/0.04788, allocations: 271.4 kB / 367.5 MB, free: 3.395 MB / 330.7 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.001534/0.04942, allocations: 1.871 MB / 369.3 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.0505, allocations: 1.141 MB / 370.5 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.05051, allocations: 4 kB / 370.5 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.05102, allocations: 0.7655 MB / 371.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.0514, allocations: 61.61 kB / 371.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.05652, allocations: 5.646 MB / 377 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.05676, allocations: 322.4 kB / 377.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.05703, allocations: 97.11 kB / 377.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.05726, allocations: 256.4 kB / 377.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.05727, allocations: 0 / 377.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.08912, allocations: 14.01 MB / 391.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.56, allocations: 14.44 kB / 391.6 MB, free: 10.93 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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: 9.30328316334635]