Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002471/0.002471, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 43.92 kB / 371.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2449, allocations: 52.19 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004323/0.2492, allocations: 2.651 MB / 426.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2512, allocations: 1.082 MB / 427.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2513, allocations: 8 kB / 427.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2528, allocations: 0.5675 MB / 428.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.2531, allocations: 139.1 kB / 428.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2545, allocations: 0.6497 MB / 428.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.2549, allocations: 290.6 kB / 429.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.2553, allocations: 234.2 kB / 429.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.2555, allocations: 135.5 kB / 429.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.2558, allocations: 143.3 kB / 429.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.2558, allocations: 28 kB / 429.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.2562, allocations: 171.8 kB / 429.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2562, allocations: 55.83 kB / 430 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2564, allocations: 123.3 kB / 430.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.257, allocations: 0.4901 MB / 430.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.257, allocations: 0 / 430.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.257, allocations: 0 / 430.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.257, allocations: 0 / 430.6 MB, free: 7.758 MB / 334.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.001666/0.2587, allocations: 0.6728 MB / 431.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2587, allocations: 12.03 kB / 431.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.2595, allocations: 112.7 kB / 431.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2599, allocations: 206.2 kB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.26, allocations: 29.03 kB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.26, allocations: 28.38 kB / 431.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005467/0.2606, allocations: 337 kB / 431.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.2606, allocations: 7.953 kB / 432 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2606, allocations: 8 kB / 432 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2606, allocations: 8 kB / 432 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.261, allocations: 238.5 kB / 432.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.2629, allocations: 1.035 MB / 433.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.2634, allocations: 247.7 kB / 433.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.2636, allocations: 84.83 kB / 433.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.2636, allocations: 11.98 kB / 433.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2637, allocations: 42.5 kB / 433.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.2637, allocations: 0 / 433.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001206/0.2649, allocations: 413.8 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2649, allocations: 55.34 kB / 434.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.2651, allocations: 166.1 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2651, allocations: 29.7 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2652, allocations: 180.3 kB / 434.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.2653, allocations: 87.22 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.2654, allocations: 53.98 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2655, allocations: 322.8 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2656, allocations: 72.53 kB / 435 MB, free: 3.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.2658, allocations: 129 kB / 435.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2661, allocations: 233.1 kB / 435.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2661, allocations: 0 / 435.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006053/0.2667, allocations: 324.5 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2667, allocations: 4 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2668, allocations: 4 kB / 435.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.2671, allocations: 80.73 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2673, allocations: 39.92 kB / 435.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.2694, allocations: 1.884 MB / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.2695, allocations: 23.78 kB / 437.7 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2696, allocations: 19.94 kB / 437.7 MB, free: 276 kB / 334.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.0001562/0.2697, allocations: 145.8 kB / 437.8 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.2698, allocations: 23.95 kB / 437.9 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.2703, allocations: 278.3 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2703, allocations: 4 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2704, allocations: 4 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2704, allocations: 0 / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2714, allocations: 0.5886 MB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2714, allocations: 0 / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2715, allocations: 23.98 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.2717, allocations: 72.75 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2718, allocations: 4 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.2739, allocations: 1.889 MB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2739, allocations: 0 / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.2746, allocations: 447.1 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.2746, allocations: 39.8 kB / 441.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2746, allocations: 4.125 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2748, allocations: 8 kB / 441.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2748, allocations: 31.88 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2748, allocations: 4 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2749, allocations: 118.3 kB / 441.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2749, allocations: 0 / 441.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.2754, allocations: 103.7 kB / 441.4 MB, free: 12.34 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.0002413/0.2757, allocations: 119.2 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.2763, allocations: 330.4 kB / 441.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2763, allocations: 0 / 441.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.2767, allocations: 246.8 kB / 442.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.277, allocations: 15.98 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2781, allocations: 0.5968 MB / 442.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2782, allocations: 146.5 kB / 442.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.2783, allocations: 19.44 kB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2783, allocations: 0 / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Templates: time 0.006772/0.2851, allocations: 4.074 MB / 447 MB, free: 6.711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.309213544707745]