Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008273/0.008273, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.002392/0.002392, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 259 MB, free: 8.023 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-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2508, allocations: 53.37 MB / 433.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004631/0.2555, allocations: 2.884 MB / 436.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.2576, allocations: 1.234 MB / 437.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.2578, allocations: 4 kB / 437.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.2593, allocations: 0.6223 MB / 437.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.2597, allocations: 143 kB / 438.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2611, allocations: 0.6603 MB / 438.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.2616, allocations: 294.6 kB / 439 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.2621, allocations: 245.7 kB / 439.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.2623, allocations: 139.4 kB / 439.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2626, allocations: 163.4 kB / 439.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.2626, allocations: 28 kB / 439.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.263, allocations: 179.8 kB / 439.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.2631, allocations: 71.7 kB / 439.8 MB, free: 352 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.2633, allocations: 143.3 kB / 440 MB, free: 208 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.264, allocations: 0.4979 MB / 440.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.264, allocations: 3.938 kB / 440.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.264, allocations: 0 / 440.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.264, allocations: 4 kB / 440.5 MB, free: 15.7 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.001642/0.2656, allocations: 0.6495 MB / 441.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2656, allocations: 8.031 kB / 441.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/0.2665, allocations: 124.6 kB / 441.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.2669, allocations: 210.7 kB / 441.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.2669, allocations: 29.03 kB / 441.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.2669, allocations: 28.38 kB / 441.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.2675, allocations: 340.9 kB / 441.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2676, allocations: 4 kB / 441.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.2676, allocations: 8 kB / 441.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2676, allocations: 12 kB / 441.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.2681, allocations: 246.5 kB / 442.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2702, allocations: 1.36 MB / 443.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.2707, allocations: 246.6 kB / 443.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.2709, allocations: 88.83 kB / 443.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.271, allocations: 19.92 kB / 443.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.2711, allocations: 38.55 kB / 443.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.2711, allocations: 0 / 443.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00123/0.2723, allocations: 415.1 kB / 444.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2723, allocations: 59.39 kB / 444.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.2725, allocations: 172.2 kB / 444.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.2726, allocations: 29.7 kB / 444.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2727, allocations: 184.4 kB / 444.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.2727, allocations: 83.22 kB / 444.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.2728, allocations: 53.98 kB / 444.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.273, allocations: 334.8 kB / 445.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2731, allocations: 68.53 kB / 445.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2733, allocations: 133 kB / 445.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.2736, allocations: 216 kB / 445.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2736, allocations: 0 / 445.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006232/0.2742, allocations: 336.6 kB / 445.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2743, allocations: 4 kB / 445.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2743, allocations: 4 kB / 445.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.2746, allocations: 76.95 kB / 446 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2748, allocations: 47.92 kB / 446 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.277, allocations: 1.926 MB / 447.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2772, allocations: 23.78 kB / 448 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2772, allocations: 20.16 kB / 448 MB, free: 7.73 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.0001791/0.2774, allocations: 141.8 kB / 448.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.2774, allocations: 27.86 kB / 448.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.278, allocations: 287.7 kB / 448.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.278, allocations: 4 kB / 448.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.278, allocations: 7.984 kB / 448.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.278, allocations: 4 kB / 448.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2791, allocations: 0.6505 MB / 449.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2791, allocations: 0 / 449.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2792, allocations: 31.92 kB / 449.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.2794, allocations: 72.81 kB / 449.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2795, allocations: 8 kB / 449.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.2816, allocations: 1.922 MB / 451.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2816, allocations: 0 / 451.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.2823, allocations: 464.3 kB / 451.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.2824, allocations: 36.12 kB / 451.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.2824, allocations: 8 kB / 451.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2825, allocations: 4 kB / 451.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2826, allocations: 19.91 kB / 451.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2826, allocations: 8 kB / 451.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2827, allocations: 123.2 kB / 451.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2827, allocations: 64 / 451.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.2832, allocations: 103.8 kB / 451.9 MB, free: 3.629 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.0002127/0.2834, allocations: 125.1 kB / 452 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.2841, allocations: 345.2 kB / 452.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2841, allocations: 0 / 452.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.2844, allocations: 242.5 kB / 452.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.2848, allocations: 19.94 kB / 452.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2859, allocations: 0.601 MB / 453.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.2863, allocations: 0.7521 MB / 453.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.2863, allocations: 23.44 kB / 454 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2863, allocations: 0 / 454 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Templates: time 0.006927/0.2933, allocations: 4.123 MB / 458.1 MB, free: 13.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/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-beta.om_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.533161079976708]