Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8034/0.8034, allocations: 158.6 MB / 186 MB, free: 2.355 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.04573/0.04573, allocations: 10.66 MB / 249 MB, free: 4.262 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 320.8 MB, free: 39.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.279e-05, allocations: 2.312 kB / 320.8 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.05042/0.05043, allocations: 98.59 MB / 419.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1756/0.2261, allocations: 36.24 MB / 455.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01507/0.2411, allocations: 392.3 kB / 456 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01428/0.2554, allocations: 5.376 MB / 461.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03577/0.2912, allocations: 17.11 MB / 478.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.2969, allocations: 1.977 MB / 480.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03885/0.3358, allocations: 37.82 MB / 0.5061 GB, free: 1.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.3394, allocations: 1.304 MB / 0.5074 GB, free: 472 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03112/0.3706, allocations: 16.67 MB / 0.5237 GB, free: 2.191 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01922/0.3898, allocations: 10.52 MB / 0.5339 GB, free: 8.133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004584/0.3944, allocations: 1.348 MB / 0.5353 GB, free: 6.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.4052, allocations: 3.305 MB / 0.5385 GB, free: 3.492 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.4082, allocations: 3.296 MB / 0.5417 GB, free: 396 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01304/0.4212, allocations: 7.954 MB / 0.5495 GB, free: 8.629 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02213/0.4433, allocations: 15.91 MB / 0.565 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4433, allocations: 4 kB / 0.565 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4433, allocations: 4 kB / 0.565 GB, free: 10.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005561/0.4439, allocations: 0 / 0.565 GB, free: 10.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.2986/0.7425, allocations: 27.4 MB / 0.5918 GB, free: 76.57 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7425, allocations: 8.719 kB / 0.5918 GB, free: 76.57 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.7534, allocations: 4.16 MB / 0.5958 GB, free: 75.96 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009813/0.7632, allocations: 8.765 MB / 0.6044 GB, free: 74.72 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/0.7636, allocations: 1.17 MB / 0.6055 GB, free: 74.51 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.7649, allocations: 1.297 MB / 0.6068 GB, free: 74.51 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.7751, allocations: 9.745 MB / 0.6163 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.7753, allocations: 17.06 kB / 0.6163 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007142/0.776, allocations: 0.5502 MB / 0.6169 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.7761, allocations: 338.9 kB / 0.6172 GB, free: 72.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007107/0.7832, allocations: 6.419 MB / 0.6235 GB, free: 72.25 MB / 458.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/0.8421, allocations: 55.67 MB / 0.6778 GB, free: 43.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.8537, allocations: 15.95 MB / 0.6934 GB, free: 31.31 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/0.8568, allocations: 3.628 MB / 0.697 GB, free: 27.72 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000445/0.8573, allocations: 263.3 kB / 0.6972 GB, free: 27.46 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003312/0.8606, allocations: 4.509 MB / 0.7016 GB, free: 23.27 MB / 458.8 MB Notification: Performance of pre-optimization done (n=1464): time 1.572e-05/0.8606, allocations: 0 / 0.7016 GB, free: 23.27 MB / 458.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01434/0.8749, allocations: 11.8 MB / 0.7131 GB, free: 11.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.875, allocations: 0.744 MB / 0.7139 GB, free: 10.81 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007046/0.8821, allocations: 8.439 MB / 0.7221 GB, free: 4.062 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008372/0.8829, allocations: 257.7 kB / 0.7224 GB, free: 3.805 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003508/0.8864, allocations: 6.704 MB / 0.7289 GB, free: 13.7 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004555/0.891, allocations: 5.349 MB / 0.7341 GB, free: 8.637 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002665/0.8937, allocations: 2.803 MB / 0.7369 GB, free: 6.137 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.8938, allocations: 476.8 kB / 0.7373 GB, free: 5.668 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.896, allocations: 1.947 MB / 0.7392 GB, free: 3.688 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/0.9005, allocations: 7.078 MB / 0.7461 GB, free: 11.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007832/0.9083, allocations: 10.26 MB / 0.7562 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-05/0.9083, allocations: 28 kB / 0.7562 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.01743/0.9258, allocations: 13.23 MB / 0.7691 GB, free: 2.973 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.9259, allocations: 171 kB / 0.7693 GB, free: 2.781 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-05/0.926, allocations: 104 kB / 0.7694 GB, free: 2.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1723/1.098, allocations: 6.446 MB / 0.7757 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007444/1.106, allocations: 3.072 MB / 0.7787 GB, free: 101.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.134, allocations: 22.38 MB / 0.8005 GB, free: 97.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/1.144, allocations: 1.492 MB / 0.802 GB, free: 97.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006759/1.145, allocations: 488.1 kB / 0.8024 GB, free: 97.83 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$PRE.Tgen2.breakerStatusInInternal,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1724): * Single equations (assignments): 1718 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(335,0), (13,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002863/1.148, allocations: 1.143 MB / 0.8036 GB, free: 97.61 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003088/1.151, allocations: 1.899 MB / 0.8054 GB, free: 96.86 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.162, allocations: 10.32 MB / 0.8155 GB, free: 95.99 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.706e-05/1.162, allocations: 74.12 kB / 0.8156 GB, free: 95.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.162, allocations: 2.812 kB / 0.8156 GB, free: 95.99 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005129/1.167, allocations: 3.385 MB / 0.8189 GB, free: 95.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.168, allocations: 242.2 kB / 0.8191 GB, free: 95.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004763/1.173, allocations: 318.1 kB / 0.8194 GB, free: 95.22 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.174, allocations: 1.155 MB / 0.8205 GB, free: 95.21 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01219/1.186, allocations: 9.935 MB / 0.8302 GB, free: 93.23 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0101/1.196, allocations: 11.55 MB / 0.8415 GB, free: 90.23 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002326/1.199, allocations: 2.537 MB / 0.844 GB, free: 89.99 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003743/1.202, allocations: 4.398 MB / 0.8483 GB, free: 89.66 MB / 0.4949 GB Notification: Performance of Backend: time 6.31e-07/1.202, allocations: 0 / 0.8483 GB, free: 89.66 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.22, allocations: 13.38 MB / 0.8613 GB, free: 80.05 MB / 0.4949 GB Notification: Performance of SimCode: time 0.02624/1.247, allocations: 27.65 MB / 0.8884 GB, free: 53.96 MB / 0.4949 GB Notification: Performance of Templates: time 0.5531/1.8, allocations: 270 MB / 1.152 GB, free: 127.8 MB / 0.5262 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.096904039848596]