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.001811/0.001811, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002246/0.002246, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.515/1.515, allocations: 230.3 MB / 258 MB, free: 8.227 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 378.8 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2527, allocations: 53.37 MB / 432.1 MB, free: 7.109 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004371/0.257, allocations: 2.876 MB / 435 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002126/0.2592, allocations: 1.234 MB / 436.2 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2593, allocations: 11.94 kB / 436.2 MB, free: 2.973 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2608, allocations: 0.622 MB / 436.9 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.2612, allocations: 131.1 kB / 437 MB, free: 2.223 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2625, allocations: 0.6732 MB / 437.7 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00042/0.263, allocations: 294.6 kB / 438 MB, free: 1.258 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2634, allocations: 205.4 kB / 438.2 MB, free: 1.059 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.2636, allocations: 143.4 kB / 438.3 MB, free: 0.918 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.2638, allocations: 167.4 kB / 438.5 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.2639, allocations: 24 kB / 438.5 MB, free: 0.7305 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.2642, allocations: 183.9 kB / 438.7 MB, free: 0.5508 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2643, allocations: 71.7 kB / 438.7 MB, free: 492 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2645, allocations: 151.3 kB / 438.9 MB, free: 340 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.2651, allocations: 497.9 kB / 439.4 MB, free: 15.85 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2651, allocations: 7.938 kB / 439.4 MB, free: 15.84 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.2651, allocations: 0 / 439.4 MB, free: 15.84 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.363e-06/0.2652, allocations: 0 / 439.4 MB, free: 15.84 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.001715/0.2669, allocations: 0.6651 MB / 440 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2669, allocations: 8.031 kB / 440.1 MB, free: 15.13 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.2677, allocations: 116.7 kB / 440.2 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2681, allocations: 202.7 kB / 440.4 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.2682, allocations: 21.03 kB / 440.4 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.2682, allocations: 40.36 kB / 440.4 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.2688, allocations: 333 kB / 440.7 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2689, allocations: 0 / 440.7 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2689, allocations: 16 kB / 440.8 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2689, allocations: 11.94 kB / 440.8 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2693, allocations: 246.4 kB / 441 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.2715, allocations: 1.364 MB / 442.4 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.272, allocations: 249.6 kB / 442.6 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2722, allocations: 95.86 kB / 442.7 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2723, allocations: 19.92 kB / 442.7 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.2724, allocations: 38.56 kB / 442.8 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.2724, allocations: 0 / 442.8 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of matching and sorting (n=24): time 0.001286/0.2737, allocations: 414.2 kB / 443.2 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.2737, allocations: 59.41 kB / 443.2 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2739, allocations: 171.3 kB / 443.4 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2739, allocations: 29.7 kB / 443.4 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2741, allocations: 180.4 kB / 443.6 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.2742, allocations: 95.2 kB / 443.7 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.2742, allocations: 49.98 kB / 443.8 MB, free: 11.21 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.00017/0.2744, allocations: 330.8 kB / 444.1 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2745, allocations: 72.53 kB / 444.1 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2747, allocations: 132.1 kB / 444.3 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.2751, allocations: 220.9 kB / 444.5 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2751, allocations: 0 / 444.5 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006303/0.2757, allocations: 331.6 kB / 444.8 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2757, allocations: 6.5 kB / 444.8 MB, free: 10.08 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2757, allocations: 8.219 kB / 444.8 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.2761, allocations: 68.81 kB / 444.9 MB, free: 10 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2762, allocations: 47.91 kB / 444.9 MB, free: 9.957 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2785, allocations: 1.922 MB / 446.9 MB, free: 7.914 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2786, allocations: 31.88 kB / 446.9 MB, free: 7.883 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2787, allocations: 15.92 kB / 446.9 MB, free: 7.867 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.0001629/0.2788, allocations: 141.8 kB / 447 MB, free: 7.719 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.2789, allocations: 27.8 kB / 447.1 MB, free: 7.691 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.2795, allocations: 285 kB / 447.4 MB, free: 7.406 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2795, allocations: 4 kB / 447.4 MB, free: 7.402 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2795, allocations: 0 / 447.4 MB, free: 7.402 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2795, allocations: 3.984 kB / 447.4 MB, free: 7.398 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2806, allocations: 0.6544 MB / 448 MB, free: 6.688 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2806, allocations: 4 kB / 448 MB, free: 6.684 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2807, allocations: 27.92 kB / 448 MB, free: 6.656 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.2809, allocations: 72.81 kB / 448.1 MB, free: 6.582 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.281, allocations: 4 kB / 448.1 MB, free: 6.578 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.2832, allocations: 1.934 MB / 450.1 MB, free: 4.531 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2832, allocations: 0 / 450.1 MB, free: 4.531 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.2839, allocations: 456.3 kB / 450.5 MB, free: 4.066 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.284, allocations: 35.86 kB / 450.5 MB, free: 4.031 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.284, allocations: 0 / 450.5 MB, free: 4.031 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2841, allocations: 8 kB / 450.5 MB, free: 4.023 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.2842, allocations: 24.08 kB / 450.6 MB, free: 4 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2842, allocations: 11.94 kB / 450.6 MB, free: 3.988 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001248/0.2843, allocations: 123.2 kB / 450.7 MB, free: 3.867 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2843, allocations: 0 / 450.7 MB, free: 3.867 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005373/0.2849, allocations: 99.78 kB / 450.8 MB, free: 3.77 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.0002356/0.2851, allocations: 123.2 kB / 450.9 MB, free: 3.641 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006487/0.2858, allocations: 346.3 kB / 451.3 MB, free: 3.289 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2858, allocations: 0 / 451.3 MB, free: 3.289 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.2861, allocations: 238.9 kB / 451.5 MB, free: 3.043 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2864, allocations: 19.98 kB / 451.5 MB, free: 3.023 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2875, allocations: 0.5664 MB / 452.1 MB, free: 2.43 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.2879, allocations: 0.756 MB / 452.8 MB, free: 1.648 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.257e-05/0.288, allocations: 25.94 kB / 452.9 MB, free: 1.625 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.288, allocations: 15.44 kB / 452.9 MB, free: 1.609 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.288, allocations: 0 / 452.9 MB, free: 1.609 MB / 350.1 MB
Notification: Performance of Templates: time 0.007526/0.2956, allocations: 2.923 MB / 455.8 MB, free: 14.7 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660]
(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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/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]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.5279847495257854]