Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001307/0.001307, allocations: 112 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.00241/0.00241, allocations: 187.8 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.514/1.514, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1834/0.1834, allocations: 38.54 MB / 346.3 MB, free: 2.125 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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest")
translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.88 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4911, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006147/0.4972, allocations: 4.078 MB / 0.537 GB, free: 2.664 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002521/0.4997, allocations: 1.848 MB / 0.5388 GB, free: 1.191 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.4999, allocations: 9.906 kB / 0.5388 GB, free: 1.188 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001257/0.5012, allocations: 378.4 kB / 0.5392 GB, free: 0.9023 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001037/0.5022, allocations: 411.4 kB / 0.5396 GB, free: 0.5898 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.5027, allocations: 140.9 kB / 0.5397 GB, free: 496 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008518/0.5036, allocations: 496.9 kB / 0.5402 GB, free: 224 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.504, allocations: 143.4 kB / 0.5403 GB, free: 132 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.5046, allocations: 233.7 kB / 0.5405 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.5052, allocations: 239.5 kB / 0.5408 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.5053, allocations: 24.56 kB / 0.5408 GB, free: 15.85 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5064, allocations: 459.7 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.5067, allocations: 163.2 kB / 0.5414 GB, free: 15.5 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.5071, allocations: 150.1 kB / 0.5415 GB, free: 15.41 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00108/0.5081, allocations: 0.4902 MB / 0.542 GB, free: 15.12 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5081, allocations: 3.984 kB / 0.542 GB, free: 15.11 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.215e-06/0.5082, allocations: 0 / 0.542 GB, free: 15.11 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.686e-06/0.5082, allocations: 4 kB / 0.542 GB, free: 15.11 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: 71
 * Number of variables: 71
Notification: Performance of Generate backend data structure: time 0.0009935/0.5092, allocations: 0.5284 MB / 0.5425 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5092, allocations: 9.625 kB / 0.5425 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.5105, allocations: 133.8 kB / 0.5427 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.511, allocations: 240.9 kB / 0.5429 GB, free: 14.38 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.5111, allocations: 23.97 kB / 0.5429 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.5112, allocations: 28.92 kB / 0.543 GB, free: 14.36 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.512, allocations: 438.7 kB / 0.5434 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.512, allocations: 1.094 kB / 0.5434 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.5121, allocations: 14.33 kB / 0.5434 GB, free: 14.06 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.5121, allocations: 30.45 kB / 0.5434 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.5129, allocations: 430.2 kB / 0.5438 GB, free: 13.85 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.5158, allocations: 1.64 MB / 0.5454 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.5163, allocations: 197.2 kB / 0.5456 GB, free: 12.34 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.5165, allocations: 122.7 kB / 0.5457 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.5165, allocations: 7.75 kB / 0.5457 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.5166, allocations: 36 kB / 0.5458 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.5166, allocations: 0 / 0.5458 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of matching and sorting (n=23): time 0.002129/0.5187, allocations: 0.7183 MB / 0.5465 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.5188, allocations: 79.42 kB / 0.5466 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.5191, allocations: 214.7 kB / 0.5468 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.5191, allocations: 31.08 kB / 0.5468 GB, free: 11.53 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.5193, allocations: 184 kB / 0.547 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.5194, allocations: 81.25 kB / 0.547 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.5196, allocations: 60.2 kB / 0.5471 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002295/0.5198, allocations: 332.5 kB / 0.5474 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.5201, allocations: 106.8 kB / 0.5475 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.5204, allocations: 211.5 kB / 0.5477 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.5209, allocations: 347.8 kB / 0.5481 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5209, allocations: 1.125 kB / 0.5481 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009066/0.5218, allocations: 432.9 kB / 0.5485 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5218, allocations: 6.656 kB / 0.5485 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5218, allocations: 2.719 kB / 0.5485 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004039/0.5222, allocations: 80.92 kB / 0.5486 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.5225, allocations: 61.55 kB / 0.5486 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.5251, allocations: 1.907 MB / 0.5505 GB, free: 8.418 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.5253, allocations: 16.89 kB / 0.5505 GB, free: 8.41 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5254, allocations: 14.53 kB / 0.5505 GB, free: 8.406 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (29):
 * Single equations (assignments): 28
 * 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
   {(2,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.5256, allocations: 172.9 kB / 0.5507 GB, free: 8.254 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.5257, allocations: 25.27 kB / 0.5507 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008099/0.5265, allocations: 383.8 kB / 0.5511 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5265, allocations: 3.406 kB / 0.5511 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5265, allocations: 1.062 kB / 0.5511 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5265, allocations: 1.125 kB / 0.5511 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5283, allocations: 0.8849 MB / 0.5519 GB, free: 7.332 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5283, allocations: 4.922 kB / 0.5519 GB, free: 7.328 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.5285, allocations: 37.3 kB / 0.552 GB, free: 7.32 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.5288, allocations: 70.23 kB / 0.552 GB, free: 7.281 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.5288, allocations: 10.36 kB / 0.552 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.531, allocations: 1.806 MB / 0.5538 GB, free: 5.605 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.531, allocations: 4.938 kB / 0.5538 GB, free: 5.602 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.5319, allocations: 463.5 kB / 0.5543 GB, free: 5.281 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.5319, allocations: 23.59 kB / 0.5543 GB, free: 5.266 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.532, allocations: 6.719 kB / 0.5543 GB, free: 5.262 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5321, allocations: 11.62 kB / 0.5543 GB, free: 5.254 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.5322, allocations: 27.36 kB / 0.5543 GB, free: 5.234 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.5322, allocations: 5.781 kB / 0.5543 GB, free: 5.234 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001831/0.5324, allocations: 149.8 kB / 0.5545 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5324, allocations: 0 / 0.5545 GB, free: 5.125 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005814/0.533, allocations: 83.16 kB / 0.5545 GB, free: 5.117 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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
   {(2,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.5331, allocations: 105.6 kB / 0.5546 GB, free: 5.02 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000909/0.5341, allocations: 421.5 kB / 0.5551 GB, free: 4.762 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5341, allocations: 0 / 0.5551 GB, free: 4.762 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000479/0.5345, allocations: 262.1 kB / 0.5553 GB, free: 4.551 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.535, allocations: 47.95 kB / 0.5553 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.5363, allocations: 0.6211 MB / 0.556 GB, free: 3.855 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.5368, allocations: 0.7987 MB / 0.5567 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001621/0.537, allocations: 57.94 kB / 0.5568 GB, free: 2.973 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.5371, allocations: 19.44 kB / 0.5568 GB, free: 2.953 MB / 398.1 MB
Notification: Performance of SimCode: time 6.91e-07/0.5371, allocations: 0 / 0.5568 GB, free: 2.953 MB / 398.1 MB
Notification: Performance of Templates: time 0.008594/0.5457, allocations: 3.299 MB / 0.56 GB, free: 15.65 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.5597190307453275]