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.001016/0.001016, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009913/0.0009913, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.8643/0.8643, allocations: 158.6 MB / 185.2 MB, free: 2.773 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.05474/0.05474, allocations: 10.66 MB / 248.2 MB, free: 4.359 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 2.104e-06/2.104e-06, allocations: 0 / 270.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.788e-05, allocations: 2.312 kB / 270.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.2035/0.2036, allocations: 98.6 MB / 369.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.06746/0.271, allocations: 37.4 MB / 406.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01997/0.291, allocations: 385.9 kB / 407.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01895/0.3099, allocations: 5.67 MB / 413 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04742/0.3574, allocations: 17.16 MB / 430.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00782/0.3652, allocations: 1.971 MB / 432.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.2471/0.6122, allocations: 37.89 MB / 470 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004864/0.6171, allocations: 1.442 MB / 471.5 MB, free: 25.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0414/0.6585, allocations: 16.67 MB / 488.1 MB, free: 24.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02054/0.679, allocations: 10.47 MB / 498.6 MB, free: 22.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006031/0.6851, allocations: 1.344 MB / 499.9 MB, free: 22.22 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0148/0.6999, allocations: 3.303 MB / 0.4914 GB, free: 22.06 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004626/0.7045, allocations: 3.296 MB / 0.4947 GB, free: 19.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02418/0.7287, allocations: 7.956 MB / 0.5024 GB, free: 13.95 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04026/0.7689, allocations: 15.89 MB / 0.5179 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.769, allocations: 0 / 0.5179 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.769, allocations: 0 / 0.5179 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001004/0.77, allocations: 3.656 kB / 0.5179 GB, free: 0.6719 MB / 394.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.06104/0.831, allocations: 28.13 MB / 0.5454 GB, free: 6.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.8311, allocations: 12.03 kB / 0.5454 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009541/0.8406, allocations: 3.801 MB / 0.5491 GB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.8542, allocations: 5.362 MB / 0.5544 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007666/0.855, allocations: 1.17 MB / 0.5555 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.8566, allocations: 1.289 MB / 0.5568 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.8684, allocations: 9.438 MB / 0.566 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.8686, allocations: 23.61 kB / 0.566 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006836/0.8693, allocations: 0.543 MB / 0.5666 GB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.8695, allocations: 340 kB / 0.5669 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008481/0.878, allocations: 5.596 MB / 0.5723 GB, free: 11.34 MB / 458.7 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.3432/1.221, allocations: 43.1 MB / 0.6144 GB, free: 60.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0209/1.242, allocations: 12.95 MB / 0.6271 GB, free: 57.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007491/1.25, allocations: 3.302 MB / 0.6303 GB, free: 57.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.251, allocations: 263.9 kB / 0.6306 GB, free: 57.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0111/1.262, allocations: 4.358 MB / 0.6348 GB, free: 56.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1464): time 5.005e-05/1.262, allocations: 0 / 0.6348 GB, free: 56.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=1464): time 0.02654/1.288, allocations: 9.406 MB / 0.644 GB, free: 55.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000271/1.289, allocations: 0.7437 MB / 0.6447 GB, free: 55.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01939/1.308, allocations: 7.776 MB / 0.6523 GB, free: 54.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002516/1.311, allocations: 262.4 kB / 0.6526 GB, free: 54.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005388/1.316, allocations: 4.871 MB / 0.6573 GB, free: 53.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008413/1.324, allocations: 5.36 MB / 0.6626 GB, free: 49.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005318/1.33, allocations: 2.619 MB / 0.6651 GB, free: 49.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/1.33, allocations: 308.5 kB / 0.6654 GB, free: 49.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/1.332, allocations: 1.675 MB / 0.667 GB, free: 49.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/1.337, allocations: 5.381 MB / 0.6723 GB, free: 45.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.35, allocations: 8.649 MB / 0.6807 GB, free: 41.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002234/1.35, allocations: 31.5 kB / 0.6808 GB, free: 41.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.0274/1.377, allocations: 10.59 MB / 0.6911 GB, free: 40.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.377, allocations: 167.6 kB / 0.6913 GB, free: 40.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/1.378, allocations: 104.8 kB / 0.6914 GB, free: 40.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/1.393, allocations: 6.266 MB / 0.6975 GB, free: 36.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009799/1.403, allocations: 3.072 MB / 0.7005 GB, free: 33.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03387/1.437, allocations: 19.09 MB / 0.7191 GB, free: 21.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03356/1.47, allocations: 1.495 MB / 0.7206 GB, free: 20.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009189/1.48, allocations: 480.9 kB / 0.7211 GB, free: 20 MB / 474.7 MB 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.01837/1.498, allocations: 1.093 MB / 0.7221 GB, free: 19.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01304/1.511, allocations: 1.387 MB / 0.7235 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.527, allocations: 8.636 MB / 0.7319 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002519/1.527, allocations: 71.73 kB / 0.732 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.527, allocations: 8 kB / 0.732 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01111/1.538, allocations: 1.612 MB / 0.7336 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004214/1.542, allocations: 242.7 kB / 0.7338 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/1.553, allocations: 317 kB / 0.7341 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003042/1.556, allocations: 1.148 MB / 0.7352 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.017/1.573, allocations: 7.86 MB / 0.7429 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01988/1.593, allocations: 8.923 MB / 0.7516 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006066/1.599, allocations: 2.327 MB / 0.7539 GB, free: 7.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00831/1.607, allocations: 4.057 MB / 0.7578 GB, free: 3.801 MB / 490.7 MB Notification: Performance of Backend: time 7.91e-07/1.607, allocations: 0 / 0.7578 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04241/1.65, allocations: 12.68 MB / 0.7702 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of SimCode: time 0.3171/1.967, allocations: 27.21 MB / 0.7968 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.6334/2.6, allocations: 262.5 MB / 1.053 GB, free: 63.95 MB / 0.5105 GB " [Timeout remaining time 657] 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: 12.487536306027323]