Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001316/0.001316, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.00132/0.00132, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.392/1.392, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.1811/0.1811, allocations: 38.53 MB / 344.5 MB, free: 2.602 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.89 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005459/0.3262, allocations: 4.7 MB / 0.5352 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3282, allocations: 1.306 MB / 0.5364 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3284, allocations: 13.56 kB / 0.5364 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.3295, allocations: 421.5 kB / 0.5369 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.33, allocations: 258.4 kB / 0.5371 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.3304, allocations: 170.7 kB / 0.5373 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.331, allocations: 0.556 MB / 0.5378 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.3314, allocations: 202.7 kB / 0.538 GB, free: 232 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.3318, allocations: 256 kB / 0.5382 GB, free: 84 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.3323, allocations: 298.6 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.3323, allocations: 31 kB / 0.5386 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.3326, allocations: 142 kB / 0.5387 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.3328, allocations: 196.4 kB / 0.5389 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.333, allocations: 215.2 kB / 0.5391 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.3338, allocations: 0.5203 MB / 0.5396 GB, free: 15.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3338, allocations: 1.156 kB / 0.5396 GB, free: 15.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3338, allocations: 0 / 0.5396 GB, free: 15.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.3338, allocations: 0 / 0.5396 GB, free: 15.24 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001373/0.3351, allocations: 0.7121 MB / 0.5403 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3352, allocations: 14.36 kB / 0.5403 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.3358, allocations: 78.92 kB / 0.5404 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.3366, allocations: 422.5 kB / 0.5408 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.3367, allocations: 26.58 kB / 0.5408 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3368, allocations: 55.39 kB / 0.5409 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.3377, allocations: 475.4 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3377, allocations: 5.234 kB / 0.5413 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.3378, allocations: 15.84 kB / 0.5413 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.3379, allocations: 24.58 kB / 0.5414 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.3385, allocations: 352.4 kB / 0.5417 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.3409, allocations: 1.723 MB / 0.5434 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3412, allocations: 143.3 kB / 0.5435 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3413, allocations: 101.6 kB / 0.5436 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3414, allocations: 6.156 kB / 0.5436 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.3414, allocations: 43.59 kB / 0.5437 GB, free: 12.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3414, allocations: 1.188 kB / 0.5437 GB, free: 12.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001582/0.343, allocations: 0.8922 MB / 0.5445 GB, free: 11.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3431, allocations: 87.42 kB / 0.5446 GB, free: 11.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3434, allocations: 316.2 kB / 0.5449 GB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3435, allocations: 26.77 kB / 0.5449 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3437, allocations: 257.1 kB / 0.5452 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.3437, allocations: 64.23 kB / 0.5452 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3439, allocations: 64.56 kB / 0.5453 GB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3441, allocations: 347.3 kB / 0.5456 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3442, allocations: 101.5 kB / 0.5457 GB, free: 10.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.3445, allocations: 200.1 kB / 0.5459 GB, free: 10.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3449, allocations: 327.5 kB / 0.5462 GB, free: 9.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3449, allocations: 0 / 0.5462 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000892/0.3458, allocations: 466.7 kB / 0.5467 GB, free: 9.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3458, allocations: 6.656 kB / 0.5467 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006069/0.3464, allocations: 305 kB / 0.547 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.3469, allocations: 145.4 kB / 0.5471 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3471, allocations: 53.03 kB / 0.5472 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.3501, allocations: 2.44 MB / 0.5496 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3503, allocations: 14.11 kB / 0.5496 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3503, allocations: 19.22 kB / 0.5496 GB, free: 7.219 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.3506, allocations: 192.3 kB / 0.5498 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3506, allocations: 33.23 kB / 0.5498 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.3511, allocations: 263.2 kB / 0.55 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3511, allocations: 2.156 kB / 0.5501 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3511, allocations: 1.375 kB / 0.5501 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3511, allocations: 3.938 kB / 0.5501 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3523, allocations: 0.7498 MB / 0.5508 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3523, allocations: 0 / 0.5508 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3525, allocations: 34.55 kB / 0.5508 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.3526, allocations: 37.8 kB / 0.5509 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3526, allocations: 2.312 kB / 0.5509 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.3526, allocations: 10.14 kB / 0.5509 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3526, allocations: 1.062 kB / 0.5509 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.3532, allocations: 447.6 kB / 0.5513 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/0.3533, allocations: 105.4 kB / 0.5514 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3533, allocations: 7.5 kB / 0.5514 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3535, allocations: 12.45 kB / 0.5514 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.3535, allocations: 21.48 kB / 0.5514 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3535, allocations: 4.688 kB / 0.5514 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3537, allocations: 220.2 kB / 0.5517 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3537, allocations: 0 / 0.5517 GB, free: 5.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.3542, allocations: 86.56 kB / 0.5517 GB, free: 5.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001194/0.3543, allocations: 107.4 kB / 0.5518 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.355, allocations: 397.3 kB / 0.5522 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.355, allocations: 0 / 0.5522 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.3552, allocations: 175.9 kB / 0.5524 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3557, allocations: 76.05 kB / 0.5525 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3571, allocations: 0.8735 MB / 0.5533 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.3576, allocations: 0.84 MB / 0.5541 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3577, allocations: 62.92 kB / 0.5542 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.3578, allocations: 27.44 kB / 0.5542 GB, free: 3.566 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3578, allocations: 0 / 0.5542 GB, free: 3.566 MB / 398.1 MB Notification: Performance of Templates: time 0.008417/0.3662, allocations: 4.026 MB / 0.5581 GB, free: 15.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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: 4.875299257226288]