Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001658/0.001658, allocations: 112 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.001951/0.001951, allocations: 184.1 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.494/1.494, 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.1892/0.1892, allocations: 38.54 MB / 346.3 MB, free: 2.121 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.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3703,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.91 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3432, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005146/0.3483, allocations: 4.225 MB / 0.5372 GB, free: 2.57 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001723/0.35, allocations: 0.8734 MB / 0.538 GB, free: 1.867 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.3503, allocations: 14.62 kB / 0.538 GB, free: 1.859 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3505, allocations: 43.11 kB / 0.5381 GB, free: 1.82 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.351, allocations: 163.9 kB / 0.5382 GB, free: 1.688 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3513, allocations: 85.67 kB / 0.5383 GB, free: 1.617 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004799/0.3517, allocations: 405.9 kB / 0.5387 GB, free: 1.387 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3519, allocations: 75.59 kB / 0.5388 GB, free: 1.34 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3522, allocations: 179.4 kB / 0.5389 GB, free: 1.238 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.3525, allocations: 190.9 kB / 0.5391 GB, free: 1.125 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.3526, allocations: 20.62 kB / 0.5391 GB, free: 1.125 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.3526, allocations: 20.62 kB / 0.5392 GB, free: 1.125 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.3527, allocations: 92.36 kB / 0.5393 GB, free: 1.059 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3529, allocations: 149.9 kB / 0.5394 GB, free: 0.957 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3532, allocations: 288.3 kB / 0.5397 GB, free: 0.7656 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3532, allocations: 4 kB / 0.5397 GB, free: 0.7617 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.373e-06/0.3532, allocations: 0 / 0.5397 GB, free: 0.7617 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.352e-06/0.3532, allocations: 0 / 0.5397 GB, free: 0.7617 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: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.0009147/0.3541, allocations: 0.5218 MB / 0.5402 GB, free: 328 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3542, allocations: 13.59 kB / 0.5402 GB, free: 324 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.3542, allocations: 35.36 kB / 0.5402 GB, free: 304 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.3547, allocations: 275.8 kB / 0.5405 GB, free: 60 kB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3547, allocations: 17.91 kB / 0.5405 GB, free: 52 kB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3549, allocations: 37.7 kB / 0.5405 GB, free: 36 kB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.3553, allocations: 287.8 kB / 0.5408 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3553, allocations: 0 / 0.5408 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.3554, allocations: 11.06 kB / 0.5408 GB, free: 15.81 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3554, allocations: 9.391 kB / 0.5408 GB, free: 15.81 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.3557, allocations: 187.8 kB / 0.541 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3574, allocations: 1.24 MB / 0.5422 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3577, allocations: 115.4 kB / 0.5423 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.3578, allocations: 44.03 kB / 0.5424 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3578, allocations: 13.22 kB / 0.5424 GB, free: 14.41 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3579, allocations: 35.91 kB / 0.5424 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3579, allocations: 1.219 kB / 0.5424 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.000937/0.3588, allocations: 467.6 kB / 0.5429 GB, free: 14.01 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.3589, allocations: 113.4 kB / 0.543 GB, free: 13.88 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3591, allocations: 236.1 kB / 0.5432 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3592, allocations: 30.55 kB / 0.5432 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.3593, allocations: 200.8 kB / 0.5434 GB, free: 13.49 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.3594, allocations: 41.34 kB / 0.5435 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.3594, allocations: 43.56 kB / 0.5435 GB, free: 13.42 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001555/0.3596, allocations: 340.6 kB / 0.5438 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.3597, allocations: 40.41 kB / 0.5439 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3598, allocations: 129.5 kB / 0.544 GB, free: 12.93 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3601, allocations: 185.4 kB / 0.5442 GB, free: 12.75 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3601, allocations: 1.094 kB / 0.5442 GB, free: 12.75 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.000426/0.3605, allocations: 238.4 kB / 0.5444 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3605, allocations: 10.53 kB / 0.5444 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3605, allocations: 4.438 kB / 0.5444 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.3607, allocations: 29.22 kB / 0.5444 GB, free: 12.59 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.361, allocations: 64.14 kB / 0.5445 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.361, allocations: 8.562 kB / 0.5445 GB, free: 12.56 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3611, allocations: 11.75 kB / 0.5445 GB, free: 12.55 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3611, allocations: 8.438 kB / 0.5445 GB, free: 12.55 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 (23):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.3613, allocations: 150.7 kB / 0.5447 GB, free: 12.41 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.3614, allocations: 26.83 kB / 0.5447 GB, free: 12.4 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3617, allocations: 137.5 kB / 0.5448 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3617, allocations: 5.281 kB / 0.5448 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3617, allocations: 5.312 kB / 0.5448 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3617, allocations: 1.094 kB / 0.5448 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.3621, allocations: 258.9 kB / 0.5451 GB, free: 12.06 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3621, allocations: 3.984 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3623, allocations: 30.48 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3623, allocations: 1.594 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3623, allocations: 9.484 kB / 0.5451 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.3623, allocations: 5 kB / 0.5451 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3623, allocations: 1.438 kB / 0.5451 GB, free: 12.04 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.3627, allocations: 364.8 kB / 0.5455 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.3628, allocations: 23.52 kB / 0.5455 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3628, allocations: 3.984 kB / 0.5455 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.363, allocations: 13.41 kB / 0.5455 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.363, allocations: 10.8 kB / 0.5455 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.363, allocations: 3.781 kB / 0.5455 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001794/0.3632, allocations: 168.8 kB / 0.5457 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3632, allocations: 64 / 0.5457 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003645/0.3635, allocations: 54.19 kB / 0.5458 GB, free: 11.57 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (pLoadDC.i,pLoadDC.L)
 * 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 (14):
 * Single equations (assignments): 13
 * 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.0001201/0.3637, allocations: 100.1 kB / 0.5459 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003444/0.364, allocations: 130.5 kB / 0.546 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.364, allocations: 0.8125 kB / 0.546 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.3641, allocations: 50.92 kB / 0.546 GB, free: 11.39 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.3647, allocations: 60.69 kB / 0.5461 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3657, allocations: 0.6012 MB / 0.5467 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.3661, allocations: 0.7693 MB / 0.5474 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001051/0.3662, allocations: 36.3 kB / 0.5475 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.3663, allocations: 19.81 kB / 0.5475 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3663, allocations: 0 / 0.5475 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of Templates: time 0.006167/0.3725, allocations: 2.349 MB / 0.5498 GB, free: 8.992 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.120485868304968]