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.001493/0.001493, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001922/0.001922, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.001588/0.001588, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2707, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007001/0.2777, allocations: 5.314 MB / 436.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.2809, allocations: 1.755 MB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.2811, allocations: 20 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.2844, allocations: 1.419 MB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.2851, allocations: 325.6 kB / 440 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.2865, allocations: 0.6459 MB / 440.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2875, allocations: 0.8014 MB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.2886, allocations: 0.6829 MB / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.2891, allocations: 358.7 kB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.2897, allocations: 462.1 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2898, allocations: 76 kB / 443 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.2904, allocations: 267.8 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2905, allocations: 179.3 kB / 443.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.2909, allocations: 429.8 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.2923, allocations: 1.204 MB / 445 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2923, allocations: 0 / 445 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2923, allocations: 4 kB / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2924, allocations: 0 / 445 MB, free: 8.898 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.003963/0.2963, allocations: 1.398 MB / 446.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2964, allocations: 8.031 kB / 446.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.2965, allocations: 152.4 kB / 446.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2981, allocations: 244.2 kB / 446.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.2984, allocations: 213.3 kB / 447 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.2985, allocations: 74.38 kB / 447.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2986, allocations: 96.38 kB / 447.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.3002, allocations: 0.9501 MB / 448.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.3002, allocations: 7.953 kB / 448.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.3003, allocations: 40 kB / 448.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.3003, allocations: 24 kB / 448.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3017, allocations: 0.7853 MB / 449 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005712/0.3074, allocations: 3.08 MB / 452.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.3093, allocations: 0.8812 MB / 453 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.3098, allocations: 330 kB / 453.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.31, allocations: 36.94 kB / 453.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.31, allocations: 43.5 kB / 453.4 MB, free: 344 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.495e-06/0.31, allocations: 4 kB / 453.4 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002207/0.3122, allocations: 1.003 MB / 454.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3123, allocations: 86.11 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.3127, allocations: 372.4 kB / 454.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.3128, allocations: 37.7 kB / 454.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.313, allocations: 392.1 kB / 455.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.3133, allocations: 317.3 kB / 455.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.3135, allocations: 174.9 kB / 455.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3137, allocations: 366.7 kB / 456.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.3142, allocations: 266.5 kB / 456.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.3148, allocations: 475.4 kB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.316, allocations: 0.7784 MB / 457.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.316, allocations: 0 / 457.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001712/0.3177, allocations: 0.9849 MB / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3177, allocations: 11.94 kB / 458.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3177, allocations: 12 kB / 458.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.3181, allocations: 123.3 kB / 458.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.3189, allocations: 203.7 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/0.3236, allocations: 5.704 MB / 464.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.3242, allocations: 103.2 kB / 464.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.3242, allocations: 43.98 kB / 464.8 MB, free: 4.223 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.000333/0.3246, allocations: 236 kB / 465 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3247, allocations: 55.67 kB / 465.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3263, allocations: 0.8405 MB / 465.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.3263, allocations: 8 kB / 465.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3263, allocations: 7.938 kB / 465.9 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.3263, allocations: 3.984 kB / 465.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.3293, allocations: 1.779 MB / 467.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3293, allocations: 4 kB / 467.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.3299, allocations: 140.1 kB / 467.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.3302, allocations: 111.3 kB / 467.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.3302, allocations: 19.98 kB / 468 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.3344, allocations: 5.304 MB / 473.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3344, allocations: 4 kB / 473.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3363, allocations: 1.281 MB / 474.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3364, allocations: 71.42 kB / 474.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.3365, allocations: 19.94 kB / 474.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.3369, allocations: 23.98 kB / 474.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.337, allocations: 60.55 kB / 474.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.337, allocations: 27.98 kB / 474.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.3373, allocations: 259.2 kB / 475 MB, free: 9.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3373, allocations: 0 / 475 MB, free: 9.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009666/0.3383, allocations: 263.5 kB / 475.3 MB, free: 9.09 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.002411/0.3407, allocations: 1.879 MB / 477.1 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.3425, allocations: 1.141 MB / 478.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3425, allocations: 0 / 478.3 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.3435, allocations: 0.7615 MB / 479 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.3441, allocations: 68.39 kB / 479.1 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.3526, allocations: 5.688 MB / 484.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.3532, allocations: 0.911 MB / 485.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.3536, allocations: 101.1 kB / 485.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.3539, allocations: 247.3 kB / 486 MB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.354, allocations: 4 kB / 486 MB, free: 13.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05448/0.4084, allocations: 13.76 MB / 499.8 MB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.12, allocations: 3.938 kB / 499.8 MB, free: 196 kB / 398.1 MB " [Timeout remaining time 647] (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: 15.650167269999656]