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.001925/0.001925, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.002117/0.002117, allocations: 187.1 kB / 23.72 MB, free: 4.68 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.465/1.465, 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.1812/0.1812, allocations: 38.55 MB / 346.3 MB, free: 2.141 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.002075/0.002075, allocations: 67.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00551/0.3367, allocations: 4.712 MB / 0.5376 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3384, allocations: 1.333 MB / 0.5389 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.3386, allocations: 16.12 kB / 0.539 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.3397, allocations: 422.5 kB / 0.5394 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.3402, allocations: 249.4 kB / 0.5396 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.3406, allocations: 171.7 kB / 0.5398 GB, free: 476 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.3411, allocations: 0.5594 MB / 0.5403 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.3414, allocations: 201.3 kB / 0.5405 GB, free: 32 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3418, allocations: 257.5 kB / 0.5407 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.3423, allocations: 304.7 kB / 0.541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.3424, allocations: 30.22 kB / 0.5411 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.3426, allocations: 139.1 kB / 0.5412 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.3429, allocations: 196.1 kB / 0.5414 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.3431, allocations: 220.4 kB / 0.5416 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.3438, allocations: 0.5128 MB / 0.5421 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3438, allocations: 4 kB / 0.5421 GB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3438, allocations: 0 / 0.5421 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3438, allocations: 5.25 kB / 0.5421 GB, free: 15.04 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.00128/0.3451, allocations: 0.6338 MB / 0.5427 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3451, allocations: 8.656 kB / 0.5427 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.3457, allocations: 88.94 kB / 0.5428 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007296/0.3464, allocations: 355.4 kB / 0.5432 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.3465, allocations: 31.92 kB / 0.5432 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3466, allocations: 48.02 kB / 0.5432 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.3473, allocations: 478.9 kB / 0.5437 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3474, allocations: 1.031 kB / 0.5437 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3474, allocations: 11.25 kB / 0.5437 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3475, allocations: 33.2 kB / 0.5437 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.3481, allocations: 348.1 kB / 0.5441 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.3505, allocations: 1.661 MB / 0.5457 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3509, allocations: 149 kB / 0.5458 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3511, allocations: 104.7 kB / 0.5459 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3511, allocations: 6.156 kB / 0.5459 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3511, allocations: 35.59 kB / 0.546 GB, free: 12.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3511, allocations: 1.188 kB / 0.546 GB, free: 12.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001551/0.3527, allocations: 0.7416 MB / 0.5467 GB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3527, allocations: 79.2 kB / 0.5468 GB, free: 11.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.3531, allocations: 319.3 kB / 0.5471 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3531, allocations: 27.17 kB / 0.5471 GB, free: 11.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.3533, allocations: 260.7 kB / 0.5474 GB, free: 10.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.3534, allocations: 67.78 kB / 0.5474 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.3535, allocations: 58.25 kB / 0.5475 GB, free: 10.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3537, allocations: 346.2 kB / 0.5478 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3538, allocations: 94.44 kB / 0.5479 GB, free: 10.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3541, allocations: 211.2 kB / 0.5481 GB, free: 10.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.3546, allocations: 323.4 kB / 0.5484 GB, free: 10.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3546, allocations: 1.125 kB / 0.5484 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009481/0.3555, allocations: 470.9 kB / 0.5489 GB, free: 9.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3555, allocations: 6.781 kB / 0.5489 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006453/0.3562, allocations: 307.9 kB / 0.5492 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.3567, allocations: 144.6 kB / 0.5493 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.3569, allocations: 57.31 kB / 0.5493 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.3602, allocations: 2.346 MB / 0.5516 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3604, allocations: 10.91 kB / 0.5516 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3604, allocations: 17.84 kB / 0.5517 GB, free: 7.578 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.0002612/0.3607, allocations: 184.4 kB / 0.5518 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.3607, allocations: 29.34 kB / 0.5519 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.3612, allocations: 267 kB / 0.5521 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3612, allocations: 6.312 kB / 0.5521 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3612, allocations: 5 kB / 0.5521 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3612, allocations: 5.109 kB / 0.5521 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3625, allocations: 0.7122 MB / 0.5528 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3625, allocations: 1.438 kB / 0.5528 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.3627, allocations: 37.23 kB / 0.5529 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.3628, allocations: 37.58 kB / 0.5529 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3628, allocations: 6.766 kB / 0.5529 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.3628, allocations: 7 kB / 0.5529 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3628, allocations: 3.938 kB / 0.5529 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.3635, allocations: 448.1 kB / 0.5533 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.3635, allocations: 29.69 kB / 0.5534 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3636, allocations: 6.781 kB / 0.5534 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.3637, allocations: 10.98 kB / 0.5534 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3638, allocations: 16.89 kB / 0.5534 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3638, allocations: 4.281 kB / 0.5534 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.364, allocations: 220.5 kB / 0.5536 GB, free: 6.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.364, allocations: 4 kB / 0.5536 GB, free: 6.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000506/0.3645, allocations: 86.88 kB / 0.5537 GB, free: 6.117 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.0001321/0.3647, allocations: 105.6 kB / 0.5538 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.3654, allocations: 395.2 kB / 0.5542 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3654, allocations: 0 / 0.5542 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.3656, allocations: 102.8 kB / 0.5543 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.3661, allocations: 63.64 kB / 0.5543 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.3676, allocations: 0.8705 MB / 0.5552 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.3682, allocations: 0.8419 MB / 0.556 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.3683, allocations: 66.91 kB / 0.5561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.3684, allocations: 23.44 kB / 0.5561 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3684, allocations: 0 / 0.5561 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Templates: time 0.009016/0.3774, allocations: 4.121 MB / 0.5601 GB, free: 15.68 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: 5.283649283461273]