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.001364/0.001364, 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.001578/0.001578, allocations: 194.8 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.421/1.421, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.002286/0.002286, allocations: 51.91 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2595, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006809/0.2663, allocations: 4.687 MB / 427.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2695, allocations: 1.592 MB / 428.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.2699, allocations: 16 kB / 428.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.2731, allocations: 1.309 MB / 430.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.2739, allocations: 325.6 kB / 430.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2756, allocations: 0.7667 MB / 431.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2767, allocations: 0.8166 MB / 432.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.2777, allocations: 0.6596 MB / 432.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.2781, allocations: 366.6 kB / 433.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.2786, allocations: 410.1 kB / 433.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2787, allocations: 76 kB / 433.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.2792, allocations: 243.8 kB / 433.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2794, allocations: 187.3 kB / 434 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.2797, allocations: 346.3 kB / 434.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.2811, allocations: 1.208 MB / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2812, allocations: 0 / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2812, allocations: 0 / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.2812, allocations: 0 / 435.6 MB, free: 1.355 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.004124/0.2853, allocations: 1.386 MB / 436.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2853, allocations: 8.031 kB / 436.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.2855, allocations: 152.4 kB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.2872, allocations: 260.2 kB / 437.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2874, allocations: 197.5 kB / 437.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.2875, allocations: 70.38 kB / 437.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2876, allocations: 100.3 kB / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2892, allocations: 0.9423 MB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.2892, allocations: 7.984 kB / 438.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.2893, allocations: 40 kB / 438.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.2893, allocations: 24 kB / 438.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2907, allocations: 0.7769 MB / 439.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.2957, allocations: 2.8 MB / 442.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.2975, allocations: 0.8707 MB / 443.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.298, allocations: 325.1 kB / 443.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/0.2981, allocations: 24.98 kB / 443.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.2982, allocations: 43.5 kB / 443.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.826e-06/0.2982, allocations: 0 / 443.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00213/0.3003, allocations: 0.9993 MB / 444.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3004, allocations: 90.11 kB / 444.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.3008, allocations: 376.2 kB / 445 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.3008, allocations: 41.7 kB / 445.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.3011, allocations: 396.2 kB / 445.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.3014, allocations: 317.3 kB / 445.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.3016, allocations: 178.9 kB / 445.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3018, allocations: 362.7 kB / 446.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.3023, allocations: 266.5 kB / 446.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.3029, allocations: 479.4 kB / 447 MB, free: 5.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3041, allocations: 0.7628 MB / 447.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.3041, allocations: 4 kB / 447.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001734/0.3058, allocations: 0.9687 MB / 448.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3059, allocations: 8 kB / 448.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3059, allocations: 4 kB / 448.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.3062, allocations: 124 kB / 448.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.307, allocations: 207.7 kB / 449.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.3119, allocations: 5.694 MB / 454.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/0.3125, allocations: 99.25 kB / 454.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.3126, allocations: 43.94 kB / 454.9 MB, free: 13.06 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.0003451/0.3129, allocations: 237.7 kB / 455.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.313, allocations: 55.62 kB / 455.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3146, allocations: 0.8403 MB / 456 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3146, allocations: 12 kB / 456 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3146, allocations: 3.938 kB / 456.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3146, allocations: 3.984 kB / 456.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.3176, allocations: 1.654 MB / 457.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3176, allocations: 0 / 457.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.3182, allocations: 139.8 kB / 457.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.3185, allocations: 107.3 kB / 458 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.3185, allocations: 28.06 kB / 458 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/0.323, allocations: 5.279 MB / 463.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.323, allocations: 4.25 kB / 463.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.325, allocations: 1.277 MB / 464.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3251, allocations: 71.41 kB / 464.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.3252, allocations: 23.94 kB / 464.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3256, allocations: 16 kB / 464.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3257, allocations: 60.55 kB / 464.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3257, allocations: 31.98 kB / 464.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.326, allocations: 251.2 kB / 465 MB, free: 2.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.326, allocations: 64 / 465 MB, free: 2.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3271, allocations: 271.5 kB / 465.2 MB, free: 2.074 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.00247/0.3295, allocations: 1.864 MB / 467.1 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.3315, allocations: 1.125 MB / 468.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3315, allocations: 0 / 468.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3325, allocations: 0.7659 MB / 469 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.3331, allocations: 63.23 kB / 469.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.3415, allocations: 5.692 MB / 474.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3419, allocations: 322.4 kB / 475.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004656/0.3424, allocations: 105.1 kB / 475.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.3427, allocations: 243.3 kB / 475.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3427, allocations: 4 kB / 475.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/0.4008, allocations: 13.59 MB / 489 MB, free: 10.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.33, allocations: 10.73 kB / 489 MB, free: 10.01 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.777829474303871]