Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2368, allocations: 53.41 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007387/0.2442, allocations: 5.303 MB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.2475, allocations: 1.763 MB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.2479, allocations: 16 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.2512, allocations: 1.423 MB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.2521, allocations: 325.6 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2536, allocations: 0.6497 MB / 440.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2546, allocations: 0.813 MB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.2557, allocations: 0.6712 MB / 442.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.2562, allocations: 358.7 kB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.2568, allocations: 466.1 kB / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2569, allocations: 76 kB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.2575, allocations: 263.8 kB / 443.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.2577, allocations: 175.4 kB / 443.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.2581, allocations: 429.8 kB / 443.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.2597, allocations: 1.207 MB / 445.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2597, allocations: 0 / 445.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2597, allocations: 3.938 kB / 445.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.2597, allocations: 0 / 445.1 MB, free: 8.867 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.004024/0.2637, allocations: 1.394 MB / 446.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2638, allocations: 8.031 kB / 446.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.2639, allocations: 152.4 kB / 446.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.2657, allocations: 240.2 kB / 446.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2659, allocations: 214 kB / 447.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.266, allocations: 74.38 kB / 447.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.2662, allocations: 96.38 kB / 447.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2678, allocations: 0.9423 MB / 448.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.2678, allocations: 7.953 kB / 448.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.2679, allocations: 39.98 kB / 448.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.2679, allocations: 24 kB / 448.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.2693, allocations: 0.7887 MB / 449.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.2748, allocations: 3.088 MB / 452.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.2768, allocations: 0.8811 MB / 453 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.2773, allocations: 325.7 kB / 453.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.2775, allocations: 40.95 kB / 453.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.2775, allocations: 51.44 kB / 453.4 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.745e-06/0.2775, allocations: 0 / 453.4 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002214/0.2797, allocations: 0.9994 MB / 454.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.2798, allocations: 90.09 kB / 454.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.2803, allocations: 372.4 kB / 454.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.2803, allocations: 37.7 kB / 454.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.2806, allocations: 396.2 kB / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.2809, allocations: 313.3 kB / 455.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.2812, allocations: 170.9 kB / 455.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.2814, allocations: 362.7 kB / 456.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2819, allocations: 266.5 kB / 456.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.2825, allocations: 483.4 kB / 456.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2837, allocations: 0.7706 MB / 457.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.2837, allocations: 4 kB / 457.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001874/0.2856, allocations: 0.9846 MB / 458.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2856, allocations: 8 kB / 458.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2857, allocations: 4 kB / 458.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.2861, allocations: 127.6 kB / 458.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.2869, allocations: 203.7 kB / 459 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/0.2919, allocations: 5.705 MB / 464.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.2926, allocations: 111.2 kB / 464.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.2927, allocations: 40 kB / 464.8 MB, free: 4.199 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.0003821/0.2931, allocations: 245.5 kB / 465 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2932, allocations: 51.67 kB / 465.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2947, allocations: 0.8325 MB / 465.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.2948, allocations: 16 kB / 465.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2948, allocations: 3.938 kB / 466 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.2948, allocations: 3.984 kB / 466 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.2979, allocations: 1.779 MB / 467.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2979, allocations: 4 kB / 467.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.2985, allocations: 139.8 kB / 467.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/0.2988, allocations: 111.6 kB / 468 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.2988, allocations: 20 kB / 468 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.3031, allocations: 5.3 MB / 473.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3031, allocations: 4 kB / 473.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.3051, allocations: 1.281 MB / 474.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3052, allocations: 67.5 kB / 474.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.3053, allocations: 27.95 kB / 474.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.3057, allocations: 20 kB / 474.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3058, allocations: 68.53 kB / 474.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.3059, allocations: 24 kB / 474.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.3062, allocations: 259.1 kB / 475 MB, free: 9.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3062, allocations: 0 / 475 MB, free: 9.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009598/0.3071, allocations: 259.6 kB / 475.3 MB, free: 9.066 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.002424/0.3095, allocations: 1.887 MB / 477.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3113, allocations: 1.13 MB / 478.3 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3113, allocations: 4.125 kB / 478.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009509/0.3123, allocations: 0.7561 MB / 479.1 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.3129, allocations: 64.11 kB / 479.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/0.3213, allocations: 5.699 MB / 484.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.322, allocations: 0.9188 MB / 485.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.3224, allocations: 105.1 kB / 485.9 MB, free: 14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.3227, allocations: 247.3 kB / 486.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3227, allocations: 0 / 486.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/0.3786, allocations: 13.76 MB / 499.9 MB, free: 136 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.87, allocations: 11.98 kB / 499.9 MB, free: 124 kB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.410978626998258]