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.001939/0.001939, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002668/0.002668, allocations: 204.4 kB / 23.72 MB, free: 4.391 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.001976/0.001976, allocations: 67.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2344, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00417/0.2386, allocations: 2.669 MB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.2406, allocations: 1.125 MB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2407, allocations: 8 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.2422, allocations: 0.5865 MB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.2425, allocations: 143 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2438, allocations: 0.6054 MB / 436.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.2442, allocations: 298.6 kB / 436.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.2446, allocations: 236.8 kB / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2448, allocations: 143.4 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.245, allocations: 147.4 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.245, allocations: 24 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.2454, allocations: 179.8 kB / 437.3 MB, free: 300 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.2454, allocations: 59.77 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2455, allocations: 115.5 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.2462, allocations: 0.502 MB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2462, allocations: 0 / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2462, allocations: 0 / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2462, allocations: 0 / 438 MB, free: 15.62 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.001599/0.2478, allocations: 0.6573 MB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2478, allocations: 12.03 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.2479, allocations: 70.66 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.2487, allocations: 116.7 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.249, allocations: 218.6 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2491, allocations: 21.03 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.2491, allocations: 36.12 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.2496, allocations: 333.1 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2497, allocations: 3.984 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.2497, allocations: 16 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2497, allocations: 8 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.2501, allocations: 242.4 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.252, allocations: 1.086 MB / 440.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.2525, allocations: 237.3 kB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.2527, allocations: 95.81 kB / 441.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.2528, allocations: 19.97 kB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2528, allocations: 34.56 kB / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.684e-06/0.2528, allocations: 0 / 441.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001186/0.254, allocations: 418.2 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.254, allocations: 55.41 kB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.2542, allocations: 179.2 kB / 441.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2542, allocations: 29.7 kB / 441.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2544, allocations: 184.3 kB / 442 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.2544, allocations: 87.25 kB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.2545, allocations: 53.94 kB / 442.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2547, allocations: 326.8 kB / 442.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2548, allocations: 72.53 kB / 442.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.255, allocations: 136.7 kB / 442.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2553, allocations: 220.9 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2553, allocations: 0 / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005784/0.2559, allocations: 335.7 kB / 443.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2559, allocations: 8 kB / 443.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2559, allocations: 3.938 kB / 443.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.2562, allocations: 72.8 kB / 443.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2563, allocations: 47.92 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.2585, allocations: 1.903 MB / 445.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2587, allocations: 27.81 kB / 445.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.2587, allocations: 15.98 kB / 445.3 MB, free: 7.914 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.0001867/0.2589, allocations: 149.8 kB / 445.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2589, allocations: 19.84 kB / 445.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.2595, allocations: 273 kB / 445.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2595, allocations: 4 kB / 445.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2595, allocations: 0 / 445.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2595, allocations: 7.984 kB / 445.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.2605, allocations: 0.6391 MB / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2605, allocations: 0 / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2606, allocations: 23.98 kB / 446.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.2609, allocations: 80.67 kB / 446.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2609, allocations: 8 kB / 446.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.2629, allocations: 1.91 MB / 448.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2629, allocations: 0 / 448.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.2636, allocations: 457.1 kB / 448.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.2637, allocations: 31.86 kB / 448.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2637, allocations: 7.984 kB / 448.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2638, allocations: 8 kB / 448.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.2639, allocations: 19.97 kB / 448.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2639, allocations: 4 kB / 448.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.264, allocations: 123.2 kB / 449 MB, free: 3.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.264, allocations: 0 / 449 MB, free: 3.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.2645, allocations: 100 kB / 449.1 MB, free: 3.867 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.001094/0.2656, allocations: 1.01 MB / 450.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006248/0.2662, allocations: 339.1 kB / 450.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2662, allocations: 0 / 450.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.2666, allocations: 258.1 kB / 450.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2669, allocations: 19.98 kB / 450.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.2702, allocations: 2.511 MB / 453.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2703, allocations: 146.5 kB / 453.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.315e-05/0.2704, allocations: 25.94 kB / 453.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2705, allocations: 67.42 kB / 453.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2705, allocations: 0 / 453.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.3076, allocations: 5.75 MB / 459.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.9, allocations: 3.375 kB / 459.2 MB, free: 9.68 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.384561453014612]