Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001821/0.001821, 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.002076/0.002076, allocations: 184.4 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.568/1.568, 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.1877/0.1877, allocations: 38.54 MB / 346.3 MB, free: 2.102 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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 68.11 kB / 484.5 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005629/0.3833, allocations: 4.044 MB / 0.537 GB, free: 2.688 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001342/0.3847, allocations: 0.8892 MB / 0.5379 GB, free: 1.977 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.3849, allocations: 18.72 kB / 0.5379 GB, free: 1.965 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.385, allocations: 48.34 kB / 0.5379 GB, free: 1.922 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.3855, allocations: 171.5 kB / 0.5381 GB, free: 1.781 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3857, allocations: 87.02 kB / 0.5382 GB, free: 1.711 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003824/0.3861, allocations: 376.5 kB / 0.5385 GB, free: 1.5 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3862, allocations: 60.86 kB / 0.5386 GB, free: 1.465 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3865, allocations: 164.2 kB / 0.5387 GB, free: 1.375 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3868, allocations: 177.6 kB / 0.5389 GB, free: 1.273 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.3868, allocations: 20.5 kB / 0.5389 GB, free: 1.27 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.3869, allocations: 16.5 kB / 0.5389 GB, free: 1.27 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.3869, allocations: 77.86 kB / 0.539 GB, free: 1.219 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3871, allocations: 133.1 kB / 0.5391 GB, free: 1.133 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3874, allocations: 258.4 kB / 0.5394 GB, free: 0.9609 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3874, allocations: 1.5 kB / 0.5394 GB, free: 0.9609 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.943e-06/0.3874, allocations: 0 / 0.5394 GB, free: 0.9609 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.865e-06/0.3874, allocations: 0 / 0.5394 GB, free: 0.9609 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 49
 * Number of variables: 49
Notification: Performance of Generate backend data structure: time 0.0008275/0.3882, allocations: 499.9 kB / 0.5399 GB, free: 0.5391 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3883, allocations: 9.594 kB / 0.5399 GB, free: 0.5391 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.3883, allocations: 29.25 kB / 0.5399 GB, free: 0.5234 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.3888, allocations: 261 kB / 0.5402 GB, free: 308 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3888, allocations: 16.03 kB / 0.5402 GB, free: 300 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3888, allocations: 21.12 kB / 0.5402 GB, free: 292 kB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3892, allocations: 271.9 kB / 0.5405 GB, free: 76 kB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3892, allocations: 0 / 0.5405 GB, free: 76 kB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3892, allocations: 7.312 kB / 0.5405 GB, free: 72 kB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3892, allocations: 9.094 kB / 0.5405 GB, free: 68 kB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3895, allocations: 167.1 kB / 0.5406 GB, free: 15.98 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.391, allocations: 1.144 MB / 0.5417 GB, free: 14.9 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3911, allocations: 77.19 kB / 0.5418 GB, free: 14.83 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.3912, allocations: 32.03 kB / 0.5419 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3912, allocations: 5 kB / 0.5419 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3913, allocations: 36.03 kB / 0.5419 GB, free: 14.76 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3913, allocations: 0 / 0.5419 GB, free: 14.76 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007484/0.392, allocations: 333.4 kB / 0.5422 GB, free: 14.48 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3921, allocations: 78.27 kB / 0.5423 GB, free: 14.39 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3923, allocations: 248.4 kB / 0.5425 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3923, allocations: 30.73 kB / 0.5425 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3925, allocations: 203.6 kB / 0.5427 GB, free: 14 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3925, allocations: 31.56 kB / 0.5428 GB, free: 13.97 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.3926, allocations: 51.19 kB / 0.5428 GB, free: 13.93 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001509/0.3928, allocations: 328.6 kB / 0.5431 GB, free: 13.6 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.3928, allocations: 25.92 kB / 0.5432 GB, free: 13.59 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.393, allocations: 120.6 kB / 0.5433 GB, free: 13.45 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3932, allocations: 166.6 kB / 0.5434 GB, free: 13.28 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3932, allocations: 0 / 0.5434 GB, free: 13.28 MB / 398.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002923/0.3935, allocations: 186.5 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3935, allocations: 6.844 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3935, allocations: 7.641 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3935, allocations: 4.812 kB / 0.5436 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3937, allocations: 39.61 kB / 0.5437 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.3937, allocations: 12.83 kB / 0.5437 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3938, allocations: 7.438 kB / 0.5437 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3938, allocations: 9.469 kB / 0.5437 GB, free: 13.15 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (22):
 * Single equations (assignments): 22
 * 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.0001446/0.3939, allocations: 145.3 kB / 0.5438 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.394, allocations: 25.64 kB / 0.5439 GB, free: 13 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.3942, allocations: 101.2 kB / 0.544 GB, free: 12.92 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3942, allocations: 2.281 kB / 0.544 GB, free: 12.92 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3942, allocations: 0 / 0.544 GB, free: 12.92 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3942, allocations: 1.094 kB / 0.544 GB, free: 12.92 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.3947, allocations: 396.9 kB / 0.5443 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3947, allocations: 0 / 0.5443 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.3948, allocations: 18.33 kB / 0.5444 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3948, allocations: 5.938 kB / 0.5444 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3948, allocations: 1.469 kB / 0.5444 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3948, allocations: 5.344 kB / 0.5444 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3948, allocations: 4 kB / 0.5444 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.3951, allocations: 232.3 kB / 0.5446 GB, free: 12.34 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.3951, allocations: 17.48 kB / 0.5446 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.3952, allocations: 10.58 kB / 0.5446 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.3952, allocations: 5.281 kB / 0.5446 GB, free: 12.31 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.3953, allocations: 2.562 kB / 0.5446 GB, free: 12.31 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3953, allocations: 6.828 kB / 0.5446 GB, free: 12.31 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001698/0.3954, allocations: 171.7 kB / 0.5448 GB, free: 12.19 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3954, allocations: 3.938 kB / 0.5448 GB, free: 12.18 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000311/0.3958, allocations: 39.81 kB / 0.5448 GB, free: 12.18 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 1 (ind.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 (9):
 * Single equations (assignments): 8
 * 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.0001085/0.3959, allocations: 98.97 kB / 0.5449 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001911/0.3961, allocations: 83.44 kB / 0.545 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3961, allocations: 0 / 0.545 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.433e-05/0.3961, allocations: 31.3 kB / 0.545 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3966, allocations: 61.23 kB / 0.5451 GB, free: 12 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.3976, allocations: 0.4961 MB / 0.5456 GB, free: 11.64 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.398, allocations: 0.758 MB / 0.5463 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 9.891e-05/0.3981, allocations: 22.91 kB / 0.5463 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.3982, allocations: 23.06 kB / 0.5464 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3982, allocations: 0 / 0.5464 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of Templates: time 0.006285/0.4045, allocations: 1.91 MB / 0.5482 GB, free: 9.934 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.352593530900776]