Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001339/0.001339, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001407/0.001407, allocations: 183.1 kB / 23.72 MB, free: 4.699 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.429/1.429, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_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_0_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.001537/0.001537, allocations: 43.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007772/0.2665, allocations: 5.295 MB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.2699, allocations: 1.693 MB / 429.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.2703, allocations: 16 kB / 429.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.2739, allocations: 1.426 MB / 431.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.2749, allocations: 321.7 kB / 431.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.2768, allocations: 0.8195 MB / 432.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.2781, allocations: 0.8167 MB / 433 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.2794, allocations: 0.679 MB / 433.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.2799, allocations: 358.7 kB / 434.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.2805, allocations: 474.1 kB / 434.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2807, allocations: 76 kB / 434.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.2813, allocations: 259.8 kB / 434.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2814, allocations: 175.4 kB / 435 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.2819, allocations: 429.9 kB / 435.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.2835, allocations: 1.203 MB / 436.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2835, allocations: 0 / 436.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2835, allocations: 0 / 436.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.2835, allocations: 0 / 436.6 MB, free: 0.5312 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004186/0.2877, allocations: 1.382 MB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2877, allocations: 8.031 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.2879, allocations: 152.3 kB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.2896, allocations: 256.2 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2898, allocations: 205.4 kB / 438.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.2899, allocations: 74.36 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.2901, allocations: 104.3 kB / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.2917, allocations: 0.9384 MB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.2918, allocations: 8 kB / 439.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.2919, allocations: 36 kB / 439.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.2919, allocations: 24 kB / 439.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.2933, allocations: 0.7808 MB / 440.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.2989, allocations: 3.037 MB / 443.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3008, allocations: 0.8781 MB / 444.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000554/0.3013, allocations: 329.1 kB / 444.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3014, allocations: 24.97 kB / 444.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3015, allocations: 47.5 kB / 444.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 4.489e-06/0.3015, allocations: 3.984 kB / 444.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002227/0.3037, allocations: 0.9993 MB / 445.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.3038, allocations: 86.11 kB / 446 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.3043, allocations: 368.4 kB / 446.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.3043, allocations: 41.69 kB / 446.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.3047, allocations: 392.2 kB / 446.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.3049, allocations: 313.3 kB / 447.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3052, allocations: 174.9 kB / 447.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3054, allocations: 362.7 kB / 447.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.3059, allocations: 274.5 kB / 447.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.3066, allocations: 475.4 kB / 448.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3078, allocations: 0.7667 MB / 449.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3078, allocations: 0 / 449.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001803/0.3096, allocations: 0.9732 MB / 450.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3096, allocations: 12 kB / 450.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3096, allocations: 4 kB / 450.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.3101, allocations: 123.4 kB / 450.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.3109, allocations: 207.7 kB / 450.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.3161, allocations: 5.713 MB / 456.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.3169, allocations: 103.2 kB / 456.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.3169, allocations: 39.98 kB / 456.3 MB, free: 11.97 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.0003916/0.3173, allocations: 235.7 kB / 456.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3174, allocations: 51.67 kB / 456.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.319, allocations: 0.8521 MB / 457.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.319, allocations: 8 kB / 457.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3191, allocations: 3.938 kB / 457.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3191, allocations: 15.92 kB / 457.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.3221, allocations: 1.752 MB / 459.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3221, allocations: 0 / 459.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.3227, allocations: 135.8 kB / 459.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/0.3231, allocations: 111.6 kB / 459.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.3231, allocations: 16 kB / 459.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/0.3274, allocations: 5.295 MB / 464.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.3274, allocations: 4 kB / 464.7 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.3294, allocations: 1.277 MB / 466 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.3295, allocations: 67.5 kB / 466.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.3296, allocations: 27.92 kB / 466.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.33, allocations: 20 kB / 466.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3301, allocations: 68.55 kB / 466.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.3302, allocations: 27.98 kB / 466.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3305, allocations: 251.2 kB / 466.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3305, allocations: 0 / 466.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009601/0.3314, allocations: 263.5 kB / 466.7 MB, free: 0.8672 MB / 366.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.002358/0.3338, allocations: 1.864 MB / 468.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3356, allocations: 1.123 MB / 469.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3356, allocations: 7.875 kB / 469.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.3366, allocations: 0.7681 MB / 470.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.3372, allocations: 61.36 kB / 470.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008785/0.346, allocations: 5.7 MB / 476.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.3466, allocations: 0.911 MB / 477.1 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.3471, allocations: 109.1 kB / 477.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.3475, allocations: 247.3 kB / 477.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3475, allocations: 0 / 477.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.4066, allocations: 13.61 MB / 491.1 MB, free: 8.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.83, allocations: 7.875 kB / 491.1 MB, free: 8.121 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.31305716299903]