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.001946/0.001946, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002418/0.002418, allocations: 214 kB / 23.73 MB, free: 4.406 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.001989/0.001989, allocations: 63.91 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2408, allocations: 53.4 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006727/0.2475, allocations: 4.696 MB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.2506, allocations: 1.654 MB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.2509, allocations: 16 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.2541, allocations: 1.31 MB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.2552, allocations: 325.6 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2567, allocations: 0.607 MB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.2578, allocations: 0.8091 MB / 440.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.2589, allocations: 0.6557 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.2594, allocations: 362.7 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.2599, allocations: 410.1 kB / 442 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.26, allocations: 79.94 kB / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.2606, allocations: 247.8 kB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2608, allocations: 179.2 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.2611, allocations: 342.4 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2625, allocations: 1.212 MB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2625, allocations: 0 / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2625, allocations: 3.938 kB / 444 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2625, allocations: 4 kB / 444 MB, free: 9.543 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.004037/0.2666, allocations: 1.402 MB / 445.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2666, allocations: 11.98 kB / 445.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.2668, allocations: 148.4 kB / 445.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.2684, allocations: 244.2 kB / 445.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.2687, allocations: 206 kB / 446 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.2687, allocations: 70.38 kB / 446.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.2689, allocations: 96.38 kB / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.2705, allocations: 0.95 MB / 447.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.2705, allocations: 11.89 kB / 447.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.2706, allocations: 40 kB / 447.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.2706, allocations: 24 kB / 447.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.2721, allocations: 0.7731 MB / 448 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.2773, allocations: 2.838 MB / 450.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.2791, allocations: 0.8815 MB / 451.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.2797, allocations: 325.4 kB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2798, allocations: 32.97 kB / 452.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.2798, allocations: 51.44 kB / 452.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.916e-06/0.2798, allocations: 4 kB / 452.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002184/0.282, allocations: 1.003 MB / 453.1 MB, free: 224 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.2821, allocations: 90.09 kB / 453.2 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.2826, allocations: 388.2 kB / 453.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.2827, allocations: 33.7 kB / 453.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.2829, allocations: 396.2 kB / 454 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.2832, allocations: 309.3 kB / 454.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.2835, allocations: 174.9 kB / 454.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2836, allocations: 362.7 kB / 454.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.2841, allocations: 274.5 kB / 455.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.2848, allocations: 479.4 kB / 455.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2859, allocations: 0.7706 MB / 456.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2859, allocations: 4 kB / 456.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00178/0.2877, allocations: 0.9888 MB / 457.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2877, allocations: 8 kB / 457.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2878, allocations: 4 kB / 457.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.2881, allocations: 123.3 kB / 457.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.2889, allocations: 203.7 kB / 457.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.2935, allocations: 5.677 MB / 463.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/0.2942, allocations: 115.2 kB / 463.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.2943, allocations: 40 kB / 463.5 MB, free: 5.141 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.0003654/0.2946, allocations: 237 kB / 463.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2947, allocations: 55.67 kB / 463.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.2963, allocations: 0.8442 MB / 464.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2963, allocations: 12 kB / 464.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2963, allocations: 3.938 kB / 464.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2963, allocations: 3.984 kB / 464.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.2993, allocations: 1.674 MB / 466.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.2993, allocations: 4 kB / 466.3 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.2999, allocations: 135.8 kB / 466.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.3002, allocations: 111.5 kB / 466.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.3002, allocations: 24 kB / 466.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/0.3043, allocations: 5.284 MB / 471.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3044, allocations: 12.03 kB / 471.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.3064, allocations: 1.277 MB / 473.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3065, allocations: 67.47 kB / 473.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.3066, allocations: 19.94 kB / 473.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.307, allocations: 16 kB / 473.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3071, allocations: 76.47 kB / 473.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.3072, allocations: 27.98 kB / 473.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.3075, allocations: 251.2 kB / 473.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3075, allocations: 4.062 kB / 473.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001037/0.3085, allocations: 267.5 kB / 473.9 MB, free: 10.12 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.002533/0.3111, allocations: 1.875 MB / 475.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.3129, allocations: 1.137 MB / 476.9 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.313, allocations: 4 kB / 476.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.3139, allocations: 0.7659 MB / 477.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.3145, allocations: 60.17 kB / 477.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/0.3228, allocations: 5.676 MB / 483.4 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3232, allocations: 318.4 kB / 483.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.3236, allocations: 109.1 kB / 483.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.324, allocations: 251.3 kB / 484 MB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.324, allocations: 0 / 484 MB, free: 15.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05486/0.3789, allocations: 13.85 MB / 497.9 MB, free: 1.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.42, allocations: 7.922 kB / 497.9 MB, free: 1.75 MB / 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: 14.910657060798258]