Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001485/0.001485, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001671/0.001671, allocations: 183.8 kB / 23.71 MB, free: 4.695 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.468/1.468, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1923/0.1923, allocations: 38.55 MB / 346.3 MB, free: 2.105 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.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency")
translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 75.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3654, allocations: 61.28 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006178/0.3716, allocations: 5.602 MB / 0.5385 GB, free: 1.477 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001882/0.3735, allocations: 1.119 MB / 0.5396 GB, free: 0.5703 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.3738, allocations: 30.69 kB / 0.5396 GB, free: 0.5508 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.374, allocations: 78.14 kB / 0.5397 GB, free: 492 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008342/0.3749, allocations: 297.2 kB / 0.54 GB, free: 244 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3751, allocations: 148.5 kB / 0.5401 GB, free: 120 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008566/0.376, allocations: 0.6933 MB / 0.5408 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.3763, allocations: 121.5 kB / 0.5409 GB, free: 15.64 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.3769, allocations: 327 kB / 0.5412 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.3775, allocations: 338.8 kB / 0.5415 GB, free: 15.27 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.3775, allocations: 36.38 kB / 0.5416 GB, free: 15.26 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.3776, allocations: 33.41 kB / 0.5416 GB, free: 15.26 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.3778, allocations: 159 kB / 0.5418 GB, free: 15.16 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.3781, allocations: 244 kB / 0.542 GB, free: 15 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007329/0.3789, allocations: 496.2 kB / 0.5425 GB, free: 14.67 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3789, allocations: 0 / 0.5425 GB, free: 14.67 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.3789, allocations: 4 kB / 0.5425 GB, free: 14.67 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.426e-05/0.3789, allocations: 1.344 kB / 0.5425 GB, free: 14.67 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: 90
 * Number of variables: 90
Notification: Performance of Generate backend data structure: time 0.001789/0.3807, allocations: 0.7271 MB / 0.5432 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.3807, allocations: 18.05 kB / 0.5432 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.3809, allocations: 57.67 kB / 0.5433 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.3818, allocations: 390 kB / 0.5436 GB, free: 13.74 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.3818, allocations: 28.25 kB / 0.5437 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.3819, allocations: 40.2 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.3827, allocations: 467 kB / 0.5441 GB, free: 13.39 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3828, allocations: 1.125 kB / 0.5441 GB, free: 13.39 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.3828, allocations: 16.06 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3828, allocations: 9.781 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.3834, allocations: 307.7 kB / 0.5445 GB, free: 13.23 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.3859, allocations: 1.726 MB / 0.5461 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.3862, allocations: 136.6 kB / 0.5463 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3863, allocations: 55.23 kB / 0.5463 GB, free: 11.53 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3863, allocations: 6.281 kB / 0.5463 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.246e-05/0.3863, allocations: 39.73 kB / 0.5464 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.873e-06/0.3863, allocations: 1.188 kB / 0.5464 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of matching and sorting (n=15): time 0.001223/0.3876, allocations: 0.5342 MB / 0.5469 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3877, allocations: 109.2 kB / 0.547 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.3882, allocations: 373.2 kB / 0.5474 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3882, allocations: 26.67 kB / 0.5474 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.3885, allocations: 292.8 kB / 0.5477 GB, free: 10.4 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.3886, allocations: 58.23 kB / 0.5477 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3887, allocations: 60.27 kB / 0.5478 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002137/0.3889, allocations: 348 kB / 0.5481 GB, free: 9.965 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.389, allocations: 49.75 kB / 0.5481 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3893, allocations: 198.7 kB / 0.5483 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.3896, allocations: 269.9 kB / 0.5486 GB, free: 9.457 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3896, allocations: 2.406 kB / 0.5486 GB, free: 9.457 MB / 398.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004789/0.3901, allocations: 292.5 kB / 0.5489 GB, free: 9.297 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3901, allocations: 7.438 kB / 0.5489 GB, free: 9.297 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3901, allocations: 5.938 kB / 0.5489 GB, free: 9.297 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3902, allocations: 10.59 kB / 0.5489 GB, free: 9.293 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3904, allocations: 77.66 kB / 0.549 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3904, allocations: 9.953 kB / 0.549 GB, free: 9.266 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3907, allocations: 11.38 kB / 0.549 GB, free: 9.262 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3907, allocations: 13.16 kB / 0.549 GB, free: 9.262 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * 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 (37):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0002422/0.3909, allocations: 187.3 kB / 0.5492 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.391, allocations: 39.94 kB / 0.5492 GB, free: 9.074 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.3913, allocations: 168.2 kB / 0.5494 GB, free: 8.961 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3913, allocations: 6.656 kB / 0.5494 GB, free: 8.957 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3913, allocations: 5.031 kB / 0.5494 GB, free: 8.953 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3913, allocations: 1.188 kB / 0.5494 GB, free: 8.953 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.3922, allocations: 0.4979 MB / 0.5499 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3922, allocations: 1.156 kB / 0.5499 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3924, allocations: 40.2 kB / 0.5499 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3924, allocations: 1.062 kB / 0.5499 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3924, allocations: 7.125 kB / 0.5499 GB, free: 8.504 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3924, allocations: 5.391 kB / 0.5499 GB, free: 8.5 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3924, allocations: 5.062 kB / 0.5499 GB, free: 8.496 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.3929, allocations: 395.6 kB / 0.5503 GB, free: 8.188 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.393, allocations: 46.27 kB / 0.5504 GB, free: 8.152 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.393, allocations: 7.219 kB / 0.5504 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3932, allocations: 9.406 kB / 0.5504 GB, free: 8.141 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3932, allocations: 12.88 kB / 0.5504 GB, free: 8.133 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3932, allocations: 8.422 kB / 0.5504 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002869/0.3935, allocations: 255.5 kB / 0.5506 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3935, allocations: 0 / 0.5506 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004687/0.394, allocations: 68.75 kB / 0.5507 GB, free: 7.965 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i)
 * 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 (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001329/0.3941, allocations: 101.7 kB / 0.5508 GB, free: 7.867 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003245/0.3944, allocations: 147.1 kB / 0.5509 GB, free: 7.805 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3944, allocations: 0 / 0.5509 GB, free: 7.805 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.3945, allocations: 53.33 kB / 0.551 GB, free: 7.785 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.3953, allocations: 113 kB / 0.5511 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3969, allocations: 0.8698 MB / 0.552 GB, free: 7.102 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3975, allocations: 0.8395 MB / 0.5528 GB, free: 6.332 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001808/0.3977, allocations: 51.09 kB / 0.5528 GB, free: 6.305 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.3978, allocations: 29.09 kB / 0.5528 GB, free: 6.301 MB / 398.1 MB
Notification: Performance of SimCode: time 7.01e-07/0.3978, allocations: 0 / 0.5528 GB, free: 6.301 MB / 398.1 MB
Notification: Performance of Templates: time 0.008914/0.4067, allocations: 3.494 MB / 0.5563 GB, free: 3.746 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.208153178915381]