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.0009926/0.0009926, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001072/0.001072, allocations: 169 kB / 23.02 MB, free: 1.547 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.8857/0.8857, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.04105/0.04105, allocations: 10.66 MB / 247.9 MB, free: 4.457 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.555e-06/2.555e-06, allocations: 0 / 319.5 MB, free: 39.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.42e-05, allocations: 2.969 kB / 319.5 MB, free: 39.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.05732/0.05736, allocations: 100.4 MB / 419.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2581/0.3155, allocations: 36.45 MB / 456.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02355/0.339, allocations: 392.2 kB / 456.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0243/0.3633, allocations: 5.374 MB / 462.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06054/0.4239, allocations: 17.21 MB / 479.4 MB, free: 7.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009021/0.4329, allocations: 1.979 MB / 481.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05293/0.4858, allocations: 37.82 MB / 0.507 GB, free: 28 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006618/0.4924, allocations: 1.308 MB / 0.5083 GB, free: 15.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04779/0.5402, allocations: 17.13 MB / 0.525 GB, free: 1.984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02297/0.5632, allocations: 10.1 MB / 0.5349 GB, free: 8.359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006056/0.5692, allocations: 1.209 MB / 0.536 GB, free: 7.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/0.5851, allocations: 2.948 MB / 0.5389 GB, free: 4.215 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00663/0.5918, allocations: 3.084 MB / 0.5419 GB, free: 1.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0251/0.6169, allocations: 7.365 MB / 0.5491 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03821/0.6551, allocations: 15.47 MB / 0.5642 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6551, allocations: 0 / 0.5642 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6551, allocations: 0 / 0.5642 GB, free: 12.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009456/0.656, allocations: 0 / 0.5642 GB, free: 12.14 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.06543/0.7214, allocations: 26.61 MB / 0.5902 GB, free: 1.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.7215, allocations: 8.031 kB / 0.5902 GB, free: 1.738 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2041/0.9256, allocations: 4.163 MB / 0.5943 GB, free: 80.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/0.9449, allocations: 9.943 MB / 0.604 GB, free: 78.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/0.9464, allocations: 1.17 MB / 0.6051 GB, free: 78.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005044/0.9514, allocations: 1.291 MB / 0.6064 GB, free: 78.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/0.992, allocations: 10.68 MB / 0.6168 GB, free: 76.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000743/0.9927, allocations: 22.66 kB / 0.6169 GB, free: 76.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/0.9955, allocations: 0.5508 MB / 0.6174 GB, free: 76.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004003/0.9959, allocations: 337.9 kB / 0.6177 GB, free: 76.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02374/1.02, allocations: 7.958 MB / 0.6255 GB, free: 76.24 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.09768/1.117, allocations: 51.27 MB / 0.6756 GB, free: 48.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/1.139, allocations: 16.51 MB / 0.6917 GB, free: 38.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008454/1.148, allocations: 4.171 MB / 0.6957 GB, free: 34.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009707/1.149, allocations: 263.3 kB / 0.696 GB, free: 34.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007567/1.156, allocations: 4.912 MB / 0.7008 GB, free: 29.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1464): time 2.352e-05/1.156, allocations: 0 / 0.7008 GB, free: 29.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1464): time 0.02617/1.183, allocations: 13.4 MB / 0.7139 GB, free: 16.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/1.183, allocations: 0.7446 MB / 0.7146 GB, free: 15.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/1.195, allocations: 8.266 MB / 0.7227 GB, free: 7.055 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002684/1.198, allocations: 261.7 kB / 0.7229 GB, free: 6.793 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005175/1.203, allocations: 6.587 MB / 0.7294 GB, free: 212 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.009095/1.212, allocations: 5.299 MB / 0.7345 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005025/1.217, allocations: 2.741 MB / 0.7372 GB, free: 8.219 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.218, allocations: 480.7 kB / 0.7377 GB, free: 7.746 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/1.222, allocations: 2.537 MB / 0.7402 GB, free: 5.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009196/1.232, allocations: 7.611 MB / 0.7476 GB, free: 11.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2857/1.517, allocations: 11.28 MB / 0.7586 GB, free: 88.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/1.517, allocations: 31 kB / 0.7586 GB, free: 88.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.03754/1.555, allocations: 14.62 MB / 0.7729 GB, free: 87.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.555, allocations: 166.3 kB / 0.7731 GB, free: 87.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/1.555, allocations: 104.8 kB / 0.7732 GB, free: 87.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/1.574, allocations: 6.486 MB / 0.7795 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009467/1.584, allocations: 3.625 MB / 0.7831 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04184/1.625, allocations: 23.22 MB / 0.8057 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/1.64, allocations: 1.166 MB / 0.8069 GB, free: 82.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003098/1.643, allocations: 0.6059 MB / 0.8075 GB, free: 82.86 MB / 490.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 (1720): * Single equations (assignments): 1714 * 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 {(338,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.007096/1.65, allocations: 1.138 MB / 0.8086 GB, free: 82.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007193/1.657, allocations: 1.895 MB / 0.8104 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.677, allocations: 11.42 MB / 0.8216 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003971/1.677, allocations: 71.56 kB / 0.8216 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/1.677, allocations: 4 kB / 0.8217 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01098/1.688, allocations: 2.731 MB / 0.8243 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003691/1.692, allocations: 240.2 kB / 0.8245 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00962/1.701, allocations: 387.5 kB / 0.8249 GB, free: 80.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002539/1.704, allocations: 1.167 MB / 0.8261 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0239/1.728, allocations: 11.51 MB / 0.8373 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02223/1.75, allocations: 12.35 MB / 0.8494 GB, free: 65.59 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005139/1.755, allocations: 2.796 MB / 0.8521 GB, free: 63.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007336/1.762, allocations: 4.557 MB / 0.8565 GB, free: 59.35 MB / 490.7 MB Notification: Performance of Backend: time 1.472e-06/1.762, allocations: 4 kB / 0.8565 GB, free: 59.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03674/1.799, allocations: 13.93 MB / 0.8701 GB, free: 45.75 MB / 490.7 MB Notification: Performance of SimCode: time 0.04794/1.847, allocations: 26.28 MB / 0.8958 GB, free: 19.43 MB / 490.7 MB Notification: Performance of Templates: time 0.6811/2.528, allocations: 209.3 MB / 1.1 GB, free: 132.1 MB / 0.5261 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: 10.771334440913051]