Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.001545/0.001545, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001592/0.001592, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench")
translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 49.15 MB / 396.8 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.031/0.3, allocations: 29.73 MB / 426.6 MB, free: 3.449 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02108/0.3211, allocations: 7.46 MB / 434 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.009701/0.3308, allocations: 263.8 kB / 434.3 MB, free: 13.18 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0325/0.3633, allocations: 13.31 MB / 447.6 MB, free: 492 kB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.014/0.3773, allocations: 3.17 MB / 450.8 MB, free: 13.29 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.007546/0.3848, allocations: 1.953 MB / 452.7 MB, free: 11.34 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.03088/0.4157, allocations: 19.18 MB / 471.9 MB, free: 8.078 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.05872/0.4744, allocations: 27.05 MB / 498.9 MB, free: 12.82 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.02038/0.4948, allocations: 10.51 MB / 0.4975 GB, free: 2.281 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.02172/0.5165, allocations: 11.65 MB / 0.5089 GB, free: 6.598 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.008791/0.5253, allocations: 2.973 MB / 0.5118 GB, free: 3.625 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.5359, allocations: 3.222 MB / 0.5149 GB, free: 412 kB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.01149/0.5474, allocations: 5.787 MB / 0.5206 GB, free: 10.6 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.02198/0.5694, allocations: 11.21 MB / 0.5315 GB, free: 15.34 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.457/1.026, allocations: 39.77 MB / 0.5704 GB, free: 68.49 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.026, allocations: 0 / 0.5704 GB, free: 68.49 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.432e-06/1.026, allocations: 0.5938 kB / 0.5704 GB, free: 68.49 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 0.001039/1.027, allocations: 1.938 kB / 0.5704 GB, free: 68.49 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 5161
 * Number of variables: 5161
Notification: Performance of Generate backend data structure: time 0.06765/1.095, allocations: 23.19 MB / 0.593 GB, free: 61.58 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.095, allocations: 11.67 kB / 0.593 GB, free: 61.58 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06305/1.158, allocations: 12.37 MB / 0.6051 GB, free: 56.72 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02583/1.184, allocations: 10.79 MB / 0.6156 GB, free: 50.32 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.185, allocations: 1.396 MB / 0.617 GB, free: 48.94 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.008585/1.194, allocations: 1.837 MB / 0.6188 GB, free: 47.12 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.07392/1.268, allocations: 30.84 MB / 0.6489 GB, free: 16.25 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0009402/1.269, allocations: 22.66 kB / 0.6489 GB, free: 16.23 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006883/1.275, allocations: 0.7612 MB / 0.6497 GB, free: 15.48 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007503/1.276, allocations: 0.9685 MB / 0.6506 GB, free: 14.51 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05911/1.335, allocations: 27.87 MB / 0.6778 GB, free: 2.617 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/1.518, allocations: 91.01 MB / 0.7667 GB, free: 7.465 MB / 0.5763 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.2476/1.766, allocations: 17 MB / 0.7833 GB, free: 210.9 MB / 0.5763 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.008549/1.774, allocations: 5.542 MB / 0.7887 GB, free: 210.8 MB / 0.5763 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02337/1.797, allocations: 14.91 MB / 0.8033 GB, free: 206 MB / 0.5763 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.797, allocations: 84.72 kB / 0.8034 GB, free: 205.9 MB / 0.5763 GB
Notification: Performance of pre-optimization done (n=427): time 5.961e-06/1.797, allocations: 5.172 kB / 0.8034 GB, free: 205.9 MB / 0.5763 GB
Notification: Performance of matching and sorting (n=427): time 0.028/1.826, allocations: 13.13 MB / 0.8162 GB, free: 202.1 MB / 0.5763 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.826, allocations: 122.9 kB / 0.8163 GB, free: 202 MB / 0.5763 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00894/1.834, allocations: 7.511 MB / 0.8236 GB, free: 199.4 MB / 0.5763 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005812/1.835, allocations: 92.67 kB / 0.8237 GB, free: 199.3 MB / 0.5763 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003254/1.838, allocations: 8.857 MB / 0.8324 GB, free: 192.1 MB / 0.5763 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.84, allocations: 1.631 MB / 0.834 GB, free: 190.7 MB / 0.5763 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002589/1.842, allocations: 2.292 MB / 0.8362 GB, free: 188.6 MB / 0.5763 GB
Notification: Performance of setup shared object (initialization): time 3.52e-05/1.842, allocations: 305.1 kB / 0.8365 GB, free: 188.3 MB / 0.5763 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/1.847, allocations: 4.704 MB / 0.8411 GB, free: 184.4 MB / 0.5763 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/1.855, allocations: 10.4 MB / 0.8513 GB, free: 171.6 MB / 0.5763 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/1.867, allocations: 15.99 MB / 0.8669 GB, free: 152.8 MB / 0.5763 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/1.868, allocations: 60 kB / 0.8669 GB, free: 152.8 MB / 0.5763 GB
Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02331/1.891, allocations: 16 MB / 0.8825 GB, free: 136.8 MB / 0.5763 GB
Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/1.891, allocations: 91.98 kB / 0.8826 GB, free: 136.7 MB / 0.5763 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.891, allocations: 203.9 kB / 0.8828 GB, free: 136.5 MB / 0.5763 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004723/1.896, allocations: 1.696 MB / 0.8845 GB, free: 134.8 MB / 0.5763 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00711/1.903, allocations: 2.499 MB / 0.8869 GB, free: 132.3 MB / 0.5763 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.915, allocations: 11.45 MB / 0.8981 GB, free: 120.7 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008461/1.923, allocations: 1.587 MB / 0.8997 GB, free: 119.1 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.925, allocations: 0.6015 MB / 0.9002 GB, free: 118.5 MB / 0.5763 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 898
 * 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 (1312):
 * Single equations (assignments): 1309
 * 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.01023/1.935, allocations: 7.394 MB / 0.9075 GB, free: 111.1 MB / 0.5763 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/1.937, allocations: 0.6636 MB / 0.9081 GB, free: 110.5 MB / 0.5763 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.95, allocations: 8.049 MB / 0.916 GB, free: 102.4 MB / 0.5763 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008616/1.959, allocations: 6.449 MB / 0.9223 GB, free: 95.91 MB / 0.5763 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/1.959, allocations: 12 kB / 0.9223 GB, free: 95.9 MB / 0.5763 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/1.959, allocations: 27.91 kB / 0.9223 GB, free: 95.87 MB / 0.5763 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04021/1.999, allocations: 20.82 MB / 0.9426 GB, free: 75.06 MB / 0.5763 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.999, allocations: 0 / 0.9426 GB, free: 75.06 MB / 0.5763 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/2.002, allocations: 0.7684 MB / 0.9434 GB, free: 74.29 MB / 0.5763 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/2.007, allocations: 1.454 MB / 0.9448 GB, free: 72.83 MB / 0.5763 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/2.008, allocations: 91.97 kB / 0.9449 GB, free: 72.74 MB / 0.5763 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/2.021, allocations: 11.06 MB / 0.9557 GB, free: 61.59 MB / 0.5763 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.021, allocations: 0 / 0.9557 GB, free: 61.59 MB / 0.5763 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/2.038, allocations: 11.7 MB / 0.9671 GB, free: 49.83 MB / 0.5763 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.004509/2.043, allocations: 1.311 MB / 0.9684 GB, free: 48.51 MB / 0.5763 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.045, allocations: 80.31 kB / 0.9685 GB, free: 48.43 MB / 0.5763 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004036/2.049, allocations: 307.6 kB / 0.9688 GB, free: 48.13 MB / 0.5763 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/2.05, allocations: 307.7 kB / 0.9691 GB, free: 47.83 MB / 0.5763 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004751/2.05, allocations: 128 kB / 0.9692 GB, free: 47.71 MB / 0.5763 GB
Notification: Performance of sorting global known variables: time 0.008424/2.058, allocations: 4.922 MB / 0.974 GB, free: 42.8 MB / 0.5763 GB
Notification: Performance of sort global known variables: time 1.61e-07/2.058, allocations: 0 / 0.974 GB, free: 42.8 MB / 0.5763 GB
Notification: Performance of remove unused functions: time 0.01407/2.073, allocations: 4.242 MB / 0.9781 GB, free: 38.54 MB / 0.5763 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 (381):
 * Single equations (assignments): 378
 * 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.001304/2.074, allocations: 284.6 kB / 0.9784 GB, free: 38.27 MB / 0.5763 GB
Notification: Performance of simCode: created initialization part: time 0.01729/2.091, allocations: 10.53 MB / 0.9887 GB, free: 27.76 MB / 0.5763 GB
Notification: Performance of simCode: created event and clocks part: time 1.699e-05/2.091, allocations: 7.938 kB / 0.9887 GB, free: 27.75 MB / 0.5763 GB
Notification: Performance of simCode: created simulation system equations: time 0.006982/2.098, allocations: 3.659 MB / 0.9923 GB, free: 24.07 MB / 0.5763 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/2.108, allocations: 1.535 MB / 0.9938 GB, free: 22.54 MB / 0.5763 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/2.406, allocations: 30.43 MB / 1.023 GB, free: 188.6 MB / 0.5763 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01921/2.425, allocations: 11.61 MB / 1.035 GB, free: 187.5 MB / 0.5763 GB
Notification: Performance of simCode: alias equations: time 0.01001/2.435, allocations: 3.981 MB / 1.039 GB, free: 187.2 MB / 0.5763 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/2.437, allocations: 0.5019 MB / 1.039 GB, free: 187.2 MB / 0.5763 GB
Notification: Performance of SimCode: time 1.422e-06/2.437, allocations: 0 / 1.039 GB, free: 187.2 MB / 0.5763 GB
Notification: Performance of Templates: time 0.1521/2.589, allocations: 97.99 MB / 1.135 GB, free: 105.3 MB / 0.5763 GB
"
[Timeout remaining time 657]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 9.805583748966455]