Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001312/0.001312, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00153/0.00153, allocations: 216.9 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.GeneralLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 51.92 kB / 377.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004255/0.2458, allocations: 2.67 MB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2478, allocations: 1.121 MB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2479, allocations: 8 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2494, allocations: 0.5834 MB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.2497, allocations: 151 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2511, allocations: 0.6022 MB / 436.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.2515, allocations: 294.6 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004303/0.2519, allocations: 244.9 kB / 436.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.2521, allocations: 135.5 kB / 436.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2523, allocations: 143.4 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.2524, allocations: 28 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.2527, allocations: 167.9 kB / 437.2 MB, free: 480 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.2528, allocations: 67.7 kB / 437.3 MB, free: 412 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2529, allocations: 119.5 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.2535, allocations: 0.5059 MB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2535, allocations: 3.938 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2535, allocations: 0 / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2535, allocations: 4 kB / 437.9 MB, free: 15.77 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.001739/0.2553, allocations: 0.6561 MB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2553, allocations: 8.031 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.2554, allocations: 70.72 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.2562, allocations: 120.7 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.2566, allocations: 210.2 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2567, allocations: 21.03 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.2567, allocations: 44.11 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.2574, allocations: 329.1 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2574, allocations: 4 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.2574, allocations: 12 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2574, allocations: 8 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.2578, allocations: 238.5 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.2598, allocations: 1.093 MB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.2603, allocations: 238.6 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2605, allocations: 95.89 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.2606, allocations: 15.98 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2606, allocations: 34.56 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/0.2606, allocations: 0 / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001317/0.262, allocations: 423.9 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.262, allocations: 55.41 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.2623, allocations: 175.2 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2623, allocations: 29.7 kB / 441.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2624, allocations: 188.3 kB / 441.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.2625, allocations: 79.28 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.2626, allocations: 57.92 kB / 442.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2628, allocations: 326.8 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.2629, allocations: 72.53 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2631, allocations: 129 kB / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.2634, allocations: 224 kB / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2634, allocations: 0 / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006166/0.264, allocations: 336.5 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2641, allocations: 4 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2641, allocations: 8 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.2644, allocations: 80.91 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2646, allocations: 39.98 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.2669, allocations: 1.914 MB / 445.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.267, allocations: 27.78 kB / 445.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.267, allocations: 12 kB / 445.2 MB, free: 8.07 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.0001882/0.2672, allocations: 141.9 kB / 445.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.2673, allocations: 19.84 kB / 445.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006447/0.2679, allocations: 283.9 kB / 445.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2679, allocations: 8 kB / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2679, allocations: 0 / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2679, allocations: 0 / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.269, allocations: 0.6387 MB / 446.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.269, allocations: 0 / 446.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2691, allocations: 27.92 kB / 446.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.2694, allocations: 81.03 kB / 446.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.2694, allocations: 4 kB / 446.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.2715, allocations: 1.899 MB / 448.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2715, allocations: 8.031 kB / 448.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.2722, allocations: 455.2 kB / 448.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.2723, allocations: 35.84 kB / 448.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.2723, allocations: 4 kB / 448.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2724, allocations: 4 kB / 448.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2725, allocations: 23.95 kB / 448.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2725, allocations: 4 kB / 448.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.2726, allocations: 127.2 kB / 448.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2726, allocations: 0 / 448.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.2731, allocations: 95.78 kB / 449 MB, free: 4.035 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.001176/0.2743, allocations: 1.002 MB / 450 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.2749, allocations: 338.5 kB / 450.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.2749, allocations: 0 / 450.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.2753, allocations: 260.5 kB / 450.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2756, allocations: 16 kB / 450.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.279, allocations: 2.506 MB / 453.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.2792, allocations: 146.5 kB / 453.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.2793, allocations: 25.94 kB / 453.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2794, allocations: 71.41 kB / 453.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2794, allocations: 3.938 kB / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.3304, allocations: 5.761 MB / 459.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.93, allocations: 3.5 kB / 459.1 MB, free: 9.867 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.reference.gamma from file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.383023486938328]