Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001891/0.001891, allocations: 110 kB / 20.43 MB, free: 1.453 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.002162/0.002162, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004416/0.2567, allocations: 2.88 MB / 434.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.2587, allocations: 1.226 MB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2589, allocations: 15.94 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.2604, allocations: 0.6217 MB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.2608, allocations: 143 kB / 436.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2621, allocations: 0.6615 MB / 436.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.2625, allocations: 306.6 kB / 437 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.2629, allocations: 240.2 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.2632, allocations: 131.5 kB / 437.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2634, allocations: 175.3 kB / 437.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2634, allocations: 24 kB / 437.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.2638, allocations: 179.9 kB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.2639, allocations: 59.77 kB / 437.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.264, allocations: 151.3 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.2647, allocations: 0.4976 MB / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2647, allocations: 0 / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2647, allocations: 4 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2647, allocations: 4 kB / 438.5 MB, free: 15.36 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001601/0.2663, allocations: 0.6456 MB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2663, allocations: 12.03 kB / 439.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.128e-05/0.2664, allocations: 66.72 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.2672, allocations: 124.6 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.2676, allocations: 206.7 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2676, allocations: 29.03 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.2677, allocations: 36.06 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.2682, allocations: 333 kB / 439.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2683, allocations: 12 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.2683, allocations: 8 kB / 439.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2683, allocations: 8 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.2687, allocations: 238.5 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.2707, allocations: 1.368 MB / 441.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.2712, allocations: 246 kB / 441.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2714, allocations: 107.3 kB / 441.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.2715, allocations: 19.97 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2716, allocations: 34.56 kB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.2716, allocations: 0 / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001225/0.2728, allocations: 414.3 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2728, allocations: 55.41 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.273, allocations: 179.2 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.273, allocations: 29.7 kB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2731, allocations: 180.3 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.2732, allocations: 87.27 kB / 442.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.2733, allocations: 57.98 kB / 442.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2734, allocations: 330.8 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.2736, allocations: 64.55 kB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2737, allocations: 132.7 kB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.274, allocations: 216.9 kB / 443.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.274, allocations: 4 kB / 443.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005847/0.2746, allocations: 331.6 kB / 444 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2746, allocations: 8 kB / 444 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2746, allocations: 0 / 444 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.2749, allocations: 81.02 kB / 444.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2751, allocations: 43.92 kB / 444.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.2772, allocations: 1.926 MB / 446 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2774, allocations: 23.78 kB / 446.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.2774, allocations: 16 kB / 446.1 MB, free: 7.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.2776, allocations: 149.8 kB / 446.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.2776, allocations: 27.78 kB / 446.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.2782, allocations: 277 kB / 446.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2782, allocations: 8 kB / 446.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2782, allocations: 4 kB / 446.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2782, allocations: 0 / 446.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.2792, allocations: 0.6544 MB / 447.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2792, allocations: 0 / 447.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2793, allocations: 23.98 kB / 447.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.2795, allocations: 80.73 kB / 447.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2796, allocations: 8 kB / 447.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.2815, allocations: 1.915 MB / 449.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2816, allocations: 7.969 kB / 449.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.2822, allocations: 456.4 kB / 449.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.2823, allocations: 35.84 kB / 449.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2823, allocations: 8 kB / 449.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2825, allocations: 4 kB / 449.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2825, allocations: 15.97 kB / 449.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2825, allocations: 15.92 kB / 449.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2826, allocations: 127.3 kB / 449.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2826, allocations: 0 / 449.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.2831, allocations: 95.78 kB / 450 MB, free: 3.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.2842, allocations: 1.002 MB / 451 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.2848, allocations: 335.2 kB / 451.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2848, allocations: 0 / 451.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.2851, allocations: 258.1 kB / 451.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2855, allocations: 22.19 kB / 451.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.2887, allocations: 2.497 MB / 454.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.2891, allocations: 0.7638 MB / 454.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.2892, allocations: 17.95 kB / 454.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2893, allocations: 71.41 kB / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2893, allocations: 4 kB / 454.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.3286, allocations: 5.4 MB / 460.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.11, allocations: 7.312 kB / 460.3 MB, free: 8.77 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable leakageWithCoefficient.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.521798605001095]