Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.00158/0.00158, 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.002091/0.002091, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.435/1.435, allocations: 230.5 MB / 258.2 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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench")
translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [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.002062/0.002062, allocations: 68.75 kB / 379.1 MB, free: 2.617 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.22, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03265/0.2527, allocations: 28.77 MB / 461.2 MB, free: 10.04 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01478/0.2675, allocations: 7.228 MB / 468.4 MB, free: 2.785 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005306/0.2728, allocations: 314.4 kB / 468.7 MB, free: 2.477 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.03679/0.3096, allocations: 13.24 MB / 482 MB, free: 5.207 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0124/0.322, allocations: 2.652 MB / 484.6 MB, free: 2.547 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.008224/0.3302, allocations: 2.085 MB / 486.7 MB, free: 484 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.03306/0.3632, allocations: 18.55 MB / 0.4934 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.05347/0.4167, allocations: 26.95 MB / 0.5197 GB, free: 2.703 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.01427/0.431, allocations: 10.16 MB / 0.5296 GB, free: 8.531 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.3919/0.8229, allocations: 11.14 MB / 0.5405 GB, free: 30.71 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.007431/0.8303, allocations: 2.92 MB / 0.5434 GB, free: 30.71 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.009605/0.84, allocations: 3.195 MB / 0.5465 GB, free: 30.71 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.007672/0.8476, allocations: 5.491 MB / 0.5519 GB, free: 30.71 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01874/0.8664, allocations: 10.82 MB / 0.5624 GB, free: 28.22 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0343/0.9007, allocations: 39.11 MB / 0.6006 GB, free: 5.328 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.9007, allocations: 0 / 0.6006 GB, free: 5.328 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.984e-06/0.9007, allocations: 0 / 0.6006 GB, free: 5.328 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.001066/0.9017, allocations: 2.25 kB / 0.6006 GB, free: 5.328 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4885
 * Number of variables: 4885
Notification: Performance of Generate backend data structure: time 0.06325/0.965, allocations: 22.24 MB / 0.6223 GB, free: 2.574 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.965, allocations: 12.03 kB / 0.6223 GB, free: 2.562 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04571/1.011, allocations: 8.241 MB / 0.6304 GB, free: 10.39 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02943/1.04, allocations: 11.88 MB / 0.642 GB, free: 14.91 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001483/1.042, allocations: 1.338 MB / 0.6433 GB, free: 13.58 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.007491/1.049, allocations: 1.756 MB / 0.645 GB, free: 11.84 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.08251/1.132, allocations: 28.77 MB / 0.6731 GB, free: 15.02 MB / 0.5138 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0004798/1.132, allocations: 15.89 kB / 0.6731 GB, free: 15.01 MB / 0.5138 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005202/1.137, allocations: 0.7291 MB / 0.6738 GB, free: 14.29 MB / 0.5138 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/1.138, allocations: 0.8454 MB / 0.6747 GB, free: 13.45 MB / 0.5138 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0597/1.198, allocations: 24.83 MB / 0.6989 GB, free: 4.598 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5994/1.797, allocations: 86 MB / 0.7829 GB, free: 146.5 MB / 0.5764 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.817, allocations: 12.88 MB / 0.7955 GB, free: 146.1 MB / 0.5764 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.008027/1.825, allocations: 5.027 MB / 0.8004 GB, free: 146 MB / 0.5764 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/1.825, allocations: 182.4 kB / 0.8006 GB, free: 146 MB / 0.5764 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.798e-05/1.825, allocations: 92.27 kB / 0.8006 GB, free: 145.9 MB / 0.5764 GB
Notification: Performance of pre-optimization done (n=577): time 8.185e-06/1.825, allocations: 3.969 kB / 0.8007 GB, free: 145.9 MB / 0.5764 GB
Notification: Performance of matching and sorting (n=577): time 0.03025/1.856, allocations: 14.7 MB / 0.815 GB, free: 142.2 MB / 0.5764 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.856, allocations: 138.2 kB / 0.8151 GB, free: 142.1 MB / 0.5764 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009716/1.865, allocations: 6.427 MB / 0.8214 GB, free: 139.5 MB / 0.5764 GB
Notification: Performance of collectPreVariables (initialization): time 0.0008182/1.866, allocations: 116.5 kB / 0.8215 GB, free: 139.4 MB / 0.5764 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003616/1.87, allocations: 7.9 MB / 0.8292 GB, free: 133.8 MB / 0.5764 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002226/1.872, allocations: 2.109 MB / 0.8313 GB, free: 132.2 MB / 0.5764 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003259/1.875, allocations: 2.114 MB / 0.8334 GB, free: 131 MB / 0.5764 GB
Notification: Performance of setup shared object (initialization): time 5.209e-05/1.875, allocations: 301.1 kB / 0.8336 GB, free: 130.7 MB / 0.5764 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.006121/1.881, allocations: 4.749 MB / 0.8383 GB, free: 128.2 MB / 0.5764 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.889, allocations: 9.47 MB / 0.8475 GB, free: 119.2 MB / 0.5764 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/1.906, allocations: 15.33 MB / 0.8625 GB, free: 102.2 MB / 0.5764 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.906, allocations: 44 kB / 0.8625 GB, free: 102.2 MB / 0.5764 GB
Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02408/1.93, allocations: 15.41 MB / 0.8776 GB, free: 86.65 MB / 0.5764 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001835/1.931, allocations: 76 kB / 0.8777 GB, free: 86.58 MB / 0.5764 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/1.931, allocations: 159.9 kB / 0.8778 GB, free: 86.42 MB / 0.5764 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/1.936, allocations: 1.661 MB / 0.8794 GB, free: 84.76 MB / 0.5764 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007574/1.944, allocations: 2.363 MB / 0.8818 GB, free: 82.39 MB / 0.5764 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.957, allocations: 11.51 MB / 0.893 GB, free: 70.78 MB / 0.5764 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008347/1.965, allocations: 1.378 MB / 0.8943 GB, free: 69.39 MB / 0.5764 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002039/1.968, allocations: 0.5351 MB / 0.8949 GB, free: 68.86 MB / 0.5764 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 728
 * 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 (1243):
 * Single equations (assignments): 1240
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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
   {(6,80,77.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.01551/1.983, allocations: 7.149 MB / 0.9018 GB, free: 61.69 MB / 0.5764 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002463/1.986, allocations: 0.6365 MB / 0.9025 GB, free: 61.05 MB / 0.5764 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/2.005, allocations: 10.08 MB / 0.9123 GB, free: 50.86 MB / 0.5764 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01134/2.016, allocations: 7.769 MB / 0.9199 GB, free: 43 MB / 0.5764 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/2.016, allocations: 12 kB / 0.9199 GB, free: 42.99 MB / 0.5764 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.478e-05/2.016, allocations: 31.88 kB / 0.9199 GB, free: 42.96 MB / 0.5764 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05266/2.069, allocations: 25.36 MB / 0.9447 GB, free: 17.48 MB / 0.5764 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/2.069, allocations: 15.94 kB / 0.9447 GB, free: 17.46 MB / 0.5764 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004124/2.073, allocations: 1.022 MB / 0.9457 GB, free: 16.44 MB / 0.5764 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004974/2.078, allocations: 1.462 MB / 0.9471 GB, free: 14.97 MB / 0.5764 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009462/2.079, allocations: 132 kB / 0.9473 GB, free: 14.84 MB / 0.5764 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/2.092, allocations: 11.06 MB / 0.9581 GB, free: 3.672 MB / 0.5764 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.092, allocations: 11.94 kB / 0.9581 GB, free: 3.66 MB / 0.5764 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/2.117, allocations: 14.14 MB / 0.9719 GB, free: 5.172 MB / 0.592 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.004923/2.122, allocations: 1.451 MB / 0.9733 GB, free: 3.715 MB / 0.592 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001978/2.124, allocations: 112 kB / 0.9734 GB, free: 3.605 MB / 0.592 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004403/2.128, allocations: 311.6 kB / 0.9737 GB, free: 3.301 MB / 0.592 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/2.13, allocations: 432.2 kB / 0.9741 GB, free: 2.875 MB / 0.592 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008817/2.13, allocations: 168 kB / 0.9743 GB, free: 2.711 MB / 0.592 GB
Notification: Performance of sorting global known variables: time 0.2438/2.374, allocations: 4.304 MB / 0.9785 GB, free: 186.9 MB / 0.592 GB
Notification: Performance of sort global known variables: time 2.4e-07/2.374, allocations: 0.75 kB / 0.9785 GB, free: 186.9 MB / 0.592 GB
Notification: Performance of remove unused functions: time 0.01275/2.387, allocations: 4.091 MB / 0.9825 GB, free: 186.2 MB / 0.592 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 36
 * Number of states: 1 (source.plug_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 (528):
 * Single equations (assignments): 525
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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
   {(6,80,77.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/2.388, allocations: 325.2 kB / 0.9828 GB, free: 186.1 MB / 0.592 GB
Notification: Performance of simCode: created initialization part: time 0.01568/2.404, allocations: 10.95 MB / 0.9935 GB, free: 184.2 MB / 0.592 GB
Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.404, allocations: 0 / 0.9935 GB, free: 184.2 MB / 0.592 GB
Notification: Performance of simCode: created simulation system equations: time 0.006482/2.411, allocations: 4.349 MB / 0.9977 GB, free: 182.5 MB / 0.592 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007422/2.418, allocations: 1.565 MB / 0.9993 GB, free: 182 MB / 0.592 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05083/2.469, allocations: 29.84 MB / 1.028 GB, free: 169.1 MB / 0.592 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01761/2.486, allocations: 11.26 MB / 1.039 GB, free: 162.5 MB / 0.592 GB
Notification: Performance of simCode: alias equations: time 0.009516/2.496, allocations: 3.768 MB / 1.043 GB, free: 160 MB / 0.592 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/2.498, allocations: 0.5519 MB / 1.044 GB, free: 159.5 MB / 0.592 GB
Notification: Performance of SimCode: time 1.633e-06/2.498, allocations: 0 / 1.044 GB, free: 159.5 MB / 0.592 GB
Notification: Performance of Templates: time 0.1583/2.657, allocations: 103.8 MB / 1.145 GB, free: 59.34 MB / 0.592 GB
"
[Timeout remaining time 657]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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: 10.112503366544843]