Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001619/0.001619, allocations: 112 kB / 20.43 MB, free: 1.465 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.001575/0.001575, allocations: 183.3 kB / 23.71 MB, free: 4.715 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.482/1.482, 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.1889/0.1889, allocations: 38.54 MB / 346.3 MB, free: 2.133 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.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 61.29 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005174/0.3596, allocations: 4.186 MB / 0.5371 GB, free: 2.609 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001435/0.361, allocations: 0.9144 MB / 0.538 GB, free: 1.875 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.3612, allocations: 19.78 kB / 0.538 GB, free: 1.863 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3615, allocations: 48.12 kB / 0.5381 GB, free: 1.82 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005/0.362, allocations: 187.9 kB / 0.5383 GB, free: 1.668 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3622, allocations: 91.86 kB / 0.5384 GB, free: 1.594 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004236/0.3626, allocations: 407.8 kB / 0.5387 GB, free: 1.367 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.3628, allocations: 77.92 kB / 0.5388 GB, free: 1.324 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.3631, allocations: 187 kB / 0.539 GB, free: 1.219 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.3634, allocations: 216.6 kB / 0.5392 GB, free: 1.094 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.165e-05/0.3634, allocations: 21.44 kB / 0.5392 GB, free: 1.094 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.3635, allocations: 20.44 kB / 0.5392 GB, free: 1.094 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3636, allocations: 111.4 kB / 0.5393 GB, free: 1.02 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3637, allocations: 154.1 kB / 0.5395 GB, free: 0.918 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.364, allocations: 317.7 kB / 0.5398 GB, free: 0.707 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.364, allocations: 0 / 0.5398 GB, free: 0.707 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.364, allocations: 0 / 0.5398 GB, free: 0.707 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.724e-06/0.3641, allocations: 1.031 kB / 0.5398 GB, free: 0.707 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: 55
 * Number of variables: 55
Notification: Performance of Generate backend data structure: time 0.0009693/0.365, allocations: 0.5484 MB / 0.5403 GB, free: 256 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3651, allocations: 9.875 kB / 0.5403 GB, free: 256 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.3651, allocations: 35.98 kB / 0.5404 GB, free: 236 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.3656, allocations: 290.9 kB / 0.5407 GB, free: 15.98 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3656, allocations: 14.75 kB / 0.5407 GB, free: 15.97 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.3657, allocations: 25.5 kB / 0.5407 GB, free: 15.96 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.3662, allocations: 317.2 kB / 0.541 GB, free: 15.73 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3662, allocations: 5.188 kB / 0.541 GB, free: 15.73 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.3662, allocations: 10.12 kB / 0.541 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3662, allocations: 6.938 kB / 0.541 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.3666, allocations: 216 kB / 0.5412 GB, free: 15.62 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3683, allocations: 1.308 MB / 0.5425 GB, free: 14.44 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.3687, allocations: 140.2 kB / 0.5426 GB, free: 14.34 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3688, allocations: 61.34 kB / 0.5427 GB, free: 14.3 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3688, allocations: 5.188 kB / 0.5427 GB, free: 14.29 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3688, allocations: 36 kB / 0.5427 GB, free: 14.25 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3688, allocations: 0 / 0.5427 GB, free: 14.25 MB / 398.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0008178/0.3697, allocations: 372.5 kB / 0.5431 GB, free: 14.02 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.3697, allocations: 83.67 kB / 0.5432 GB, free: 13.93 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.37, allocations: 261 kB / 0.5434 GB, free: 13.75 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.37, allocations: 25.7 kB / 0.5434 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3702, allocations: 209.9 kB / 0.5436 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.3702, allocations: 49.72 kB / 0.5437 GB, free: 13.48 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.3703, allocations: 49.27 kB / 0.5437 GB, free: 13.44 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000159/0.3705, allocations: 341.3 kB / 0.5441 GB, free: 13.11 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3706, allocations: 52.22 kB / 0.5441 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3708, allocations: 149.8 kB / 0.5443 GB, free: 12.93 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3711, allocations: 236.8 kB / 0.5445 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3711, allocations: 1.031 kB / 0.5445 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004097/0.3715, allocations: 242.7 kB / 0.5447 GB, free: 12.59 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3715, allocations: 10.42 kB / 0.5447 GB, free: 12.58 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3715, allocations: 4.125 kB / 0.5447 GB, free: 12.58 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.3716, allocations: 4.031 kB / 0.5447 GB, free: 12.58 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3718, allocations: 52.53 kB / 0.5448 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3718, allocations: 4.406 kB / 0.5448 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3719, allocations: 9.375 kB / 0.5448 GB, free: 12.56 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.372, allocations: 8.875 kB / 0.5448 GB, free: 12.56 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 (25):
 * Single equations (assignments): 25
 * 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.0002138/0.3722, allocations: 166.2 kB / 0.545 GB, free: 12.41 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.3722, allocations: 31.84 kB / 0.545 GB, free: 12.39 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.3727, allocations: 194.9 kB / 0.5452 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3727, allocations: 2.125 kB / 0.5452 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3727, allocations: 5.172 kB / 0.5452 GB, free: 12.26 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3727, allocations: 3.984 kB / 0.5452 GB, free: 12.26 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.3735, allocations: 0.5194 MB / 0.5457 GB, free: 11.83 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3735, allocations: 0 / 0.5457 GB, free: 11.83 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3737, allocations: 30.73 kB / 0.5457 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3737, allocations: 5.312 kB / 0.5457 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3737, allocations: 6.312 kB / 0.5457 GB, free: 11.81 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.3737, allocations: 9.047 kB / 0.5457 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3737, allocations: 5 kB / 0.5457 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.3741, allocations: 290 kB / 0.546 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3742, allocations: 27.38 kB / 0.5461 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.3742, allocations: 6.094 kB / 0.5461 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3743, allocations: 5 kB / 0.5461 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3744, allocations: 12.36 kB / 0.5461 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3744, allocations: 8.328 kB / 0.5461 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002371/0.3746, allocations: 184 kB / 0.5463 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3746, allocations: 1.156 kB / 0.5463 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003868/0.375, allocations: 48.69 kB / 0.5463 GB, free: 11.41 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (17):
 * Single equations (assignments): 16
 * 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.0001516/0.3752, allocations: 104 kB / 0.5464 GB, free: 11.31 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003752/0.3756, allocations: 144.6 kB / 0.5465 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3756, allocations: 0 / 0.5465 GB, free: 11.25 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3757, allocations: 77.67 kB / 0.5466 GB, free: 11.21 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.3763, allocations: 70.45 kB / 0.5467 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3774, allocations: 0.5274 MB / 0.5472 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.3779, allocations: 0.7873 MB / 0.548 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.000139/0.378, allocations: 40.2 kB / 0.548 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.3781, allocations: 21.44 kB / 0.548 GB, free: 10.03 MB / 398.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3781, allocations: 3.938 kB / 0.548 GB, free: 10.02 MB / 398.1 MB
Notification: Performance of Templates: time 0.006748/0.3849, allocations: 2.419 MB / 0.5504 GB, free: 8.82 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.098003250546753]