Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001691/0.001691, 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.002008/0.002008, 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.389/1.389, 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.1803/0.1803, allocations: 38.52 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.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 72.06 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 61.23 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005296/0.3386, allocations: 4.716 MB / 0.5352 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3403, allocations: 1.33 MB / 0.5365 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3406, allocations: 17.5 kB / 0.5365 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3418, allocations: 417.1 kB / 0.5369 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.3424, allocations: 248.2 kB / 0.5371 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.3429, allocations: 174.1 kB / 0.5373 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.3435, allocations: 0.5627 MB / 0.5378 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.3439, allocations: 198.4 kB / 0.538 GB, free: 192 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.3442, allocations: 254.8 kB / 0.5383 GB, free: 44 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.3448, allocations: 297.7 kB / 0.5386 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.3449, allocations: 29.72 kB / 0.5386 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.3452, allocations: 138.7 kB / 0.5387 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.3454, allocations: 192.4 kB / 0.5389 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3457, allocations: 219.2 kB / 0.5391 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.3465, allocations: 0.5109 MB / 0.5396 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3465, allocations: 4.906 kB / 0.5396 GB, free: 15.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3465, allocations: 0 / 0.5396 GB, free: 15.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3465, allocations: 0 / 0.5396 GB, free: 15.2 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.001262/0.3477, allocations: 0.7027 MB / 0.5403 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3478, allocations: 17.11 kB / 0.5403 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.3484, allocations: 88.25 kB / 0.5404 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.349, allocations: 420.5 kB / 0.5408 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3491, allocations: 26.66 kB / 0.5408 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3492, allocations: 47.92 kB / 0.5409 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.35, allocations: 479.6 kB / 0.5413 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.35, allocations: 5.594 kB / 0.5413 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.35, allocations: 12 kB / 0.5413 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3501, allocations: 28.48 kB / 0.5414 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.3507, allocations: 333.1 kB / 0.5417 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.353, allocations: 1.695 MB / 0.5433 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3533, allocations: 147.2 kB / 0.5435 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3534, allocations: 96.48 kB / 0.5436 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3534, allocations: 3.938 kB / 0.5436 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.3535, allocations: 36.97 kB / 0.5436 GB, free: 12.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3535, allocations: 7.938 kB / 0.5436 GB, free: 12 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001555/0.355, allocations: 0.8588 MB / 0.5445 GB, free: 11.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.3551, allocations: 79.39 kB / 0.5445 GB, free: 11.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3555, allocations: 308.9 kB / 0.5448 GB, free: 11.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3555, allocations: 31.05 kB / 0.5449 GB, free: 10.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3557, allocations: 260.3 kB / 0.5451 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.3558, allocations: 63.33 kB / 0.5452 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3559, allocations: 62.19 kB / 0.5452 GB, free: 10.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3561, allocations: 350.4 kB / 0.5456 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3562, allocations: 90.72 kB / 0.5457 GB, free: 10.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3564, allocations: 196.1 kB / 0.5458 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3569, allocations: 317.1 kB / 0.5461 GB, free: 9.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3569, allocations: 1.125 kB / 0.5461 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008619/0.3577, allocations: 453.3 kB / 0.5466 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3577, allocations: 6.875 kB / 0.5466 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005963/0.3583, allocations: 284 kB / 0.5469 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.3588, allocations: 133.3 kB / 0.547 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.359, allocations: 61.38 kB / 0.547 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.362, allocations: 2.376 MB / 0.5494 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.3622, allocations: 9.219 kB / 0.5494 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3622, allocations: 18.59 kB / 0.5494 GB, free: 7.297 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.0002349/0.3624, allocations: 187.2 kB / 0.5496 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.3625, allocations: 34.03 kB / 0.5496 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.3629, allocations: 247.9 kB / 0.5498 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3629, allocations: 2.469 kB / 0.5498 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.363, allocations: 5.094 kB / 0.5498 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.363, allocations: 3.984 kB / 0.5498 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3642, allocations: 0.7195 MB / 0.5505 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3642, allocations: 1.188 kB / 0.5505 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3644, allocations: 38.33 kB / 0.5506 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3645, allocations: 30.77 kB / 0.5506 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3646, allocations: 6.938 kB / 0.5506 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.3659, allocations: 1.6 MB / 0.5522 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3659, allocations: 1.094 kB / 0.5522 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.3665, allocations: 423.3 kB / 0.5526 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.3666, allocations: 112.6 kB / 0.5527 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.3666, allocations: 11.28 kB / 0.5527 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3668, allocations: 3.5 kB / 0.5527 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3668, allocations: 18.31 kB / 0.5527 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3668, allocations: 4.25 kB / 0.5527 GB, free: 4.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.3671, allocations: 213.7 kB / 0.5529 GB, free: 4.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 0.5529 GB, free: 4.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.3676, allocations: 87.81 kB / 0.553 GB, free: 4.168 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.3677, allocations: 111 kB / 0.5531 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007339/0.3684, allocations: 382.4 kB / 0.5535 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3684, allocations: 3.938 kB / 0.5535 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3688, allocations: 228.3 kB / 0.5537 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.3692, allocations: 68.7 kB / 0.5538 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3708, allocations: 0.8762 MB / 0.5546 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.3713, allocations: 0.8463 MB / 0.5555 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.3714, allocations: 58.92 kB / 0.5555 GB, free: 2.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3715, allocations: 23.44 kB / 0.5555 GB, free: 2.078 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3715, allocations: 3.938 kB / 0.5555 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Templates: time 0.009047/0.3806, allocations: 4.173 MB / 0.5596 GB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.958901509642601]