Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00173/0.00173, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002352/0.002352, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 51.94 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2764, allocations: 49.15 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005444/0.2819, allocations: 5.264 MB / 401.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.2854, allocations: 1.733 MB / 403.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.286, allocations: 16.25 kB / 403.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.2891, allocations: 1.427 MB / 404.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.2905, allocations: 312.7 kB / 405.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.292, allocations: 0.6544 MB / 405.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2932, allocations: 0.8143 MB / 406.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2943, allocations: 0.6792 MB / 407.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.2948, allocations: 362.1 kB / 407.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.2953, allocations: 460.5 kB / 408.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2954, allocations: 74.25 kB / 408.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.2961, allocations: 260.5 kB / 408.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2962, allocations: 178.4 kB / 408.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.2966, allocations: 430.2 kB / 409 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.2982, allocations: 1.189 MB / 410.2 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2982, allocations: 0 / 410.2 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2982, allocations: 0 / 410.2 MB, free: 384 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.2983, allocations: 0 / 410.2 MB, free: 384 kB / 318.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.004008/0.3023, allocations: 1.386 MB / 411.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3023, allocations: 14.36 kB / 411.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.3025, allocations: 150.8 kB / 411.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3041, allocations: 257.7 kB / 412 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3044, allocations: 204.9 kB / 412.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.3045, allocations: 73.56 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3046, allocations: 96.88 kB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.3062, allocations: 0.9427 MB / 413.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.3063, allocations: 10.16 kB / 413.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.3064, allocations: 43.97 kB / 413.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.3064, allocations: 24.22 kB / 413.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.3078, allocations: 0.7831 MB / 414.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/0.3132, allocations: 3.047 MB / 417.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.3152, allocations: 0.8838 MB / 418.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.3157, allocations: 319.3 kB / 418.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3158, allocations: 28.03 kB / 418.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3158, allocations: 52.3 kB / 418.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.717e-06/0.3158, allocations: 0 / 418.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002175/0.318, allocations: 0.9916 MB / 419.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3181, allocations: 95.72 kB / 419.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.3185, allocations: 363 kB / 419.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.3186, allocations: 41.83 kB / 419.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.3189, allocations: 394.9 kB / 420.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.3191, allocations: 313 kB / 420.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.3194, allocations: 174.2 kB / 420.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3196, allocations: 370.6 kB / 421.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.32, allocations: 263.8 kB / 421.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.3207, allocations: 478 kB / 421.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3218, allocations: 0.7678 MB / 422.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3219, allocations: 2.219 kB / 422.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001742/0.3236, allocations: 0.9691 MB / 423.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3236, allocations: 10.72 kB / 423.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3236, allocations: 9.766 kB / 423.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/0.324, allocations: 123.4 kB / 423.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/0.3249, allocations: 209.4 kB / 424 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.3301, allocations: 5.704 MB / 429.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.331, allocations: 107.2 kB / 429.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.3311, allocations: 36 kB / 429.8 MB, free: 0.918 MB / 334.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.0004653/0.3315, allocations: 237.5 kB / 430 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3317, allocations: 55.62 kB / 430.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3332, allocations: 0.8482 MB / 430.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3332, allocations: 12 kB / 431 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3333, allocations: 3.938 kB / 431 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3333, allocations: 7.984 kB / 431 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.3363, allocations: 1.744 MB / 432.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3363, allocations: 4 kB / 432.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.3369, allocations: 143.8 kB / 432.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.3372, allocations: 111.6 kB / 433 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.3372, allocations: 20 kB / 433 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.3417, allocations: 5.292 MB / 438.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.3417, allocations: 7.938 kB / 438.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.3438, allocations: 1.269 MB / 439.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.344, allocations: 71.5 kB / 439.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.3441, allocations: 19.94 kB / 439.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.3445, allocations: 20 kB / 439.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3446, allocations: 72.53 kB / 439.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.3447, allocations: 24 kB / 439.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.345, allocations: 255.2 kB / 440 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.345, allocations: 0 / 440 MB, free: 6.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3461, allocations: 259.6 kB / 440.3 MB, free: 5.82 MB / 350.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.002338/0.3484, allocations: 1.86 MB / 442.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.3502, allocations: 1.142 MB / 443.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3502, allocations: 3.938 kB / 443.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.3511, allocations: 0.7644 MB / 444 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.3517, allocations: 57.42 kB / 444.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008944/0.3607, allocations: 5.696 MB / 449.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.3613, allocations: 0.911 MB / 450.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.3617, allocations: 113.1 kB / 450.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.362, allocations: 243.3 kB / 451 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.362, allocations: 0 / 451 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/0.4193, allocations: 13.57 MB / 464.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.7, allocations: 11.86 kB / 464.6 MB, free: 12.86 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.330931371005136]