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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001487/0.001487, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001713/0.001713, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2481, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007274/0.2554, allocations: 4.704 MB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.2594, allocations: 1.643 MB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.26, allocations: 16 kB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.2634, allocations: 1.314 MB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2646, allocations: 325.6 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.266, allocations: 0.6113 MB / 439.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2671, allocations: 0.8072 MB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.2681, allocations: 0.6634 MB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004841/0.2686, allocations: 358.7 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.2692, allocations: 402.2 kB / 441.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2693, allocations: 83.94 kB / 442 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.2698, allocations: 247.8 kB / 442.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.27, allocations: 175.4 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.2703, allocations: 346.4 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.2716, allocations: 1.208 MB / 444 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2716, allocations: 4 kB / 444 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2717, allocations: 0 / 444 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2717, allocations: 0 / 444 MB, free: 9.699 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.003925/0.2756, allocations: 1.394 MB / 445.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2756, allocations: 11.97 kB / 445.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.2758, allocations: 152.4 kB / 445.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.2774, allocations: 240.2 kB / 445.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2776, allocations: 213.4 kB / 446 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.2777, allocations: 74.38 kB / 446 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2779, allocations: 96.38 kB / 446.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2794, allocations: 0.9423 MB / 447.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.2795, allocations: 7.953 kB / 447.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.2795, allocations: 43.94 kB / 447.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2796, allocations: 24 kB / 447.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.281, allocations: 0.7814 MB / 447.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.2861, allocations: 2.831 MB / 450.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.288, allocations: 0.8815 MB / 451.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.2885, allocations: 326 kB / 452 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.2886, allocations: 32.97 kB / 452 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.2887, allocations: 47.5 kB / 452 MB, free: 1.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.615e-06/0.2887, allocations: 0 / 452 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002147/0.2908, allocations: 1.011 MB / 453 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.2909, allocations: 86.11 kB / 453.1 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.2913, allocations: 388.2 kB / 453.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.2914, allocations: 37.7 kB / 453.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.2916, allocations: 388.2 kB / 453.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.2919, allocations: 309.3 kB / 454.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.2922, allocations: 190.8 kB / 454.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2924, allocations: 358.7 kB / 454.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.2928, allocations: 270.5 kB / 455 MB, free: 14.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.2935, allocations: 479.4 kB / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2947, allocations: 0.7745 MB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.2947, allocations: 4 kB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001809/0.2965, allocations: 0.9849 MB / 457.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2965, allocations: 8 kB / 457.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2965, allocations: 4 kB / 457.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.2969, allocations: 119.4 kB / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.2978, allocations: 207.7 kB / 457.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/0.3031, allocations: 5.693 MB / 463.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.3037, allocations: 107.4 kB / 463.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.3038, allocations: 43.98 kB / 463.4 MB, free: 5.285 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.0003646/0.3041, allocations: 228 kB / 463.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3043, allocations: 55.67 kB / 463.7 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3058, allocations: 0.8481 MB / 464.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3058, allocations: 8 kB / 464.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3058, allocations: 3.938 kB / 464.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3058, allocations: 7.984 kB / 464.6 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.309, allocations: 1.67 MB / 466.2 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.309, allocations: 8 kB / 466.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.3096, allocations: 135.8 kB / 466.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.3099, allocations: 107.4 kB / 466.5 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.3099, allocations: 20.19 kB / 466.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.3146, allocations: 5.288 MB / 471.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3147, allocations: 256 / 471.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.317, allocations: 1.281 MB / 473.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.3172, allocations: 71.5 kB / 473.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.3173, allocations: 19.94 kB / 473.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3177, allocations: 20 kB / 473.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3178, allocations: 68.47 kB / 473.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.3179, allocations: 28 kB / 473.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003482/0.3182, allocations: 251.2 kB / 473.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3182, allocations: 0 / 473.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009786/0.3192, allocations: 271.5 kB / 473.8 MB, free: 10.28 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.002558/0.3217, allocations: 1.883 MB / 475.7 MB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3237, allocations: 1.141 MB / 476.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3237, allocations: 3.938 kB / 476.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.3246, allocations: 0.762 MB / 477.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.3252, allocations: 59.67 kB / 477.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/0.3337, allocations: 5.676 MB / 483.3 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3341, allocations: 314.4 kB / 483.6 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.3346, allocations: 113.1 kB / 483.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.3349, allocations: 247.3 kB / 484 MB, free: 15.59 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3349, allocations: 0 / 484 MB, free: 15.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.4051, allocations: 13.86 MB / 497.8 MB, free: 1.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.54, allocations: 7.938 kB / 497.8 MB, free: 1.941 MB / 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.021213883999735]