Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001936/0.001936, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002186/0.002186, allocations: 190.3 kB / 23.72 MB, free: 4.68 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.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1809/0.1809, allocations: 38.55 MB / 346.3 MB, free: 2.129 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo)
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(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006204/0.331, allocations: 5.678 MB / 0.5386 GB, free: 1.441 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002055/0.3331, allocations: 1.385 MB / 0.5399 GB, free: 332 kB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.3333, allocations: 26.75 kB / 0.54 GB, free: 316 kB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.3338, allocations: 139.8 kB / 0.5401 GB, free: 204 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008964/0.3347, allocations: 395.9 kB / 0.5405 GB, free: 15.89 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.335, allocations: 146.6 kB / 0.5406 GB, free: 15.77 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009689/0.336, allocations: 0.7823 MB / 0.5414 GB, free: 15.33 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3363, allocations: 145.6 kB / 0.5415 GB, free: 15.24 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.337, allocations: 354.3 kB / 0.5419 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.3377, allocations: 420.4 kB / 0.5423 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.3378, allocations: 39.28 kB / 0.5423 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3379, allocations: 39.66 kB / 0.5423 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.3382, allocations: 222.2 kB / 0.5425 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.3385, allocations: 275.7 kB / 0.5428 GB, free: 14.48 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.3393, allocations: 0.5791 MB / 0.5434 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3393, allocations: 0 / 0.5434 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.292e-06/0.3393, allocations: 0 / 0.5434 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.778e-06/0.3393, allocations: 0 / 0.5434 GB, free: 14.09 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 106
 * Number of variables: 106
Notification: Performance of Generate backend data structure: time 0.001622/0.341, allocations: 0.8295 MB / 0.5442 GB, free: 13.43 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.341, allocations: 9.969 kB / 0.5442 GB, free: 13.43 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3411, allocations: 68.56 kB / 0.5443 GB, free: 13.39 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.3421, allocations: 454.7 kB / 0.5447 GB, free: 13.04 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.3421, allocations: 34 kB / 0.5447 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.3422, allocations: 43.45 kB / 0.5448 GB, free: 13 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3432, allocations: 0.5299 MB / 0.5453 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3433, allocations: 12.95 kB / 0.5453 GB, free: 12.64 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.3433, allocations: 20.58 kB / 0.5453 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.3434, allocations: 17.72 kB / 0.5453 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.3441, allocations: 392.4 kB / 0.5457 GB, free: 12.44 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.3467, allocations: 1.871 MB / 0.5475 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.3474, allocations: 327.4 kB / 0.5478 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.3477, allocations: 162 kB / 0.548 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3477, allocations: 2.375 kB / 0.548 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.3481, allocations: 293.3 kB / 0.5483 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.3481, allocations: 0 / 0.5483 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of matching and sorting (n=36): time 0.002052/0.3502, allocations: 1.124 MB / 0.5494 GB, free: 9.605 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.3503, allocations: 161.2 kB / 0.5495 GB, free: 9.418 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3508, allocations: 403.1 kB / 0.5499 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3508, allocations: 36.11 kB / 0.5499 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.3511, allocations: 291.8 kB / 0.5502 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3512, allocations: 131.8 kB / 0.5504 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3513, allocations: 90.55 kB / 0.5504 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001797/0.3515, allocations: 357.8 kB / 0.5508 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3517, allocations: 122.4 kB / 0.5509 GB, free: 8.289 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.3521, allocations: 300.5 kB / 0.5512 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.3527, allocations: 475.7 kB / 0.5516 GB, free: 7.602 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3527, allocations: 1.125 kB / 0.5516 GB, free: 7.602 MB / 398.1 MB
Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008239/0.3535, allocations: 0.5226 MB / 0.5521 GB, free: 7.309 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.3536, allocations: 38.64 kB / 0.5522 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3536, allocations: 4.938 kB / 0.5522 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.3536, allocations: 8.75 kB / 0.5522 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.3541, allocations: 108.2 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.3541, allocations: 11.94 kB / 0.5523 GB, free: 7.242 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3544, allocations: 23.17 kB / 0.5523 GB, free: 7.23 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.3545, allocations: 31.05 kB / 0.5524 GB, free: 7.223 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * Number of states: 0 ()
 * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (60):
 * Single equations (assignments): 59
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0003688/0.3549, allocations: 248.1 kB / 0.5526 GB, free: 7.012 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.355, allocations: 53.92 kB / 0.5527 GB, free: 6.98 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.3558, allocations: 457.5 kB / 0.5531 GB, free: 6.719 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3558, allocations: 6.812 kB / 0.5531 GB, free: 6.715 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3558, allocations: 1.406 kB / 0.5531 GB, free: 6.715 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3558, allocations: 3.984 kB / 0.5531 GB, free: 6.711 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.3573, allocations: 0.9536 MB / 0.554 GB, free: 5.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3573, allocations: 4 kB / 0.554 GB, free: 5.977 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.3576, allocations: 59.91 kB / 0.5541 GB, free: 5.918 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.3576, allocations: 7.938 kB / 0.5541 GB, free: 5.91 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3577, allocations: 11.98 kB / 0.5541 GB, free: 5.898 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3577, allocations: 4 kB / 0.5541 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3577, allocations: 0 / 0.5541 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3587, allocations: 0.7079 MB / 0.5548 GB, free: 5.156 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3589, allocations: 67.66 kB / 0.5549 GB, free: 5.09 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.3589, allocations: 16.06 kB / 0.5549 GB, free: 5.074 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3592, allocations: 11.98 kB / 0.5549 GB, free: 5.062 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.3593, allocations: 27.91 kB / 0.5549 GB, free: 5.035 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.3593, allocations: 36.02 kB / 0.555 GB, free: 5 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0003387/0.3596, allocations: 271.1 kB / 0.5552 GB, free: 4.738 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3596, allocations: 0 / 0.5552 GB, free: 4.738 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000533/0.3602, allocations: 100 kB / 0.5553 GB, free: 4.641 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 1 (trafo.i1)
 * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime)
 * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (33):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.3604, allocations: 111.2 kB / 0.5554 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006698/0.361, allocations: 391.8 kB / 0.5558 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.361, allocations: 3.938 kB / 0.5558 GB, free: 4.125 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3613, allocations: 223.2 kB / 0.556 GB, free: 3.895 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.362, allocations: 104.5 kB / 0.5561 GB, free: 3.793 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.364, allocations: 0.9962 MB / 0.5571 GB, free: 2.758 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.3646, allocations: 0.8819 MB / 0.5579 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002677/0.3649, allocations: 88.31 kB / 0.558 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.365, allocations: 47.3 kB / 0.5581 GB, free: 1.719 MB / 398.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.365, allocations: 0 / 0.5581 GB, free: 1.719 MB / 398.1 MB
Notification: Performance of Templates: time 0.01062/0.3756, allocations: 4.628 MB / 0.5626 GB, free: 13.14 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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: 5.18888690136373]