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.001131/0.001131, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002728, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00122/0.00122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002763, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9543/0.9543, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/1.083, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.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.04146/0.04146, allocations: 10.64 MB / 231.9 MB, free: 6.066 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008055/0.04952, allocations: 4.143 MB / 236.1 MB, free: 1.914 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.433e-06/1.433e-06, allocations: 0 / 237.5 MB, free: 440 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.24e-05, allocations: 2.312 kB / 237.5 MB, free: 436 kB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.1941/0.1941, allocations: 98.92 MB / 336.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0661/0.2602, allocations: 37.57 MB / 374 MB, free: 172 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01865/0.2789, allocations: 385.9 kB / 374.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01735/0.2962, allocations: 5.686 MB / 380.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04404/0.3402, allocations: 17.09 MB / 397.2 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00767/0.3479, allocations: 1.964 MB / 399.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04234/0.3903, allocations: 36.82 MB / 436 MB, free: 2.145 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.3952, allocations: 1.44 MB / 437.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3506/0.7458, allocations: 19.39 MB / 456.8 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02011/0.7659, allocations: 10.45 MB / 467.2 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007409/0.7733, allocations: 1.346 MB / 468.6 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01639/0.7897, allocations: 3.342 MB / 471.9 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006984/0.7967, allocations: 2.331 MB / 474.3 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02366/0.8203, allocations: 6.218 MB / 480.5 MB, free: 15.73 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03416/0.8545, allocations: 15.37 MB / 495.9 MB, free: 14.22 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.407e-05/0.8545, allocations: 0 / 495.9 MB, free: 14.22 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8545, allocations: 0 / 495.9 MB, free: 14.22 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0008419/0.8554, allocations: 0 / 495.9 MB, free: 14.22 MB / 394.8 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.06663/0.922, allocations: 31.54 MB / 0.515 GB, free: 9.984 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.9221, allocations: 11.89 kB / 0.515 GB, free: 9.973 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.9377, allocations: 3.804 MB / 0.5188 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/0.957, allocations: 5.36 MB / 0.524 GB, free: 2.109 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.958, allocations: 1.17 MB / 0.5251 GB, free: 1.336 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004033/0.9621, allocations: 1.294 MB / 0.5264 GB, free: 484 kB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/0.9845, allocations: 9.445 MB / 0.5356 GB, free: 7.438 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003679/0.9849, allocations: 17.38 kB / 0.5356 GB, free: 7.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002377/0.9872, allocations: 0.5507 MB / 0.5362 GB, free: 6.879 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002752/0.9875, allocations: 336 kB / 0.5365 GB, free: 6.551 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/1.003, allocations: 5.591 MB / 0.542 GB, free: 1.039 MB / 426.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.1025/1.106, allocations: 43.21 MB / 0.5842 GB, free: 7.16 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1896/1.295, allocations: 13.15 MB / 0.597 GB, free: 87.24 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005579/1.301, allocations: 3.296 MB / 0.6002 GB, free: 86.99 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/1.301, allocations: 263.3 kB / 0.6005 GB, free: 86.98 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004423/1.306, allocations: 4.362 MB / 0.6047 GB, free: 86.25 MB / 474.8 MB Notification: Performance of pre-optimization done (n=1464): time 1.592e-05/1.306, allocations: 0 / 0.6047 GB, free: 86.25 MB / 474.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01409/1.32, allocations: 9.422 MB / 0.6139 GB, free: 85.55 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/1.32, allocations: 0.7424 MB / 0.6147 GB, free: 84.82 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/1.328, allocations: 7.78 MB / 0.6222 GB, free: 84.3 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001714/1.33, allocations: 261.7 kB / 0.6225 GB, free: 84.27 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/1.333, allocations: 4.862 MB / 0.6272 GB, free: 83.18 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005178/1.338, allocations: 5.366 MB / 0.6325 GB, free: 79.68 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/1.341, allocations: 2.62 MB / 0.635 GB, free: 79.46 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/1.341, allocations: 309.3 kB / 0.6353 GB, free: 79.16 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/1.343, allocations: 1.68 MB / 0.637 GB, free: 79 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/1.346, allocations: 5.39 MB / 0.6422 GB, free: 75.01 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/1.352, allocations: 8.645 MB / 0.6507 GB, free: 70.77 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.849e-05/1.352, allocations: 36.62 kB / 0.6507 GB, free: 70.77 MB / 474.8 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.0161/1.368, allocations: 10.61 MB / 0.6611 GB, free: 69.88 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.368, allocations: 171.4 kB / 0.6612 GB, free: 69.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/1.368, allocations: 101.5 kB / 0.6613 GB, free: 69.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/1.383, allocations: 6.331 MB / 0.6675 GB, free: 68.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008808/1.392, allocations: 3.47 MB / 0.6709 GB, free: 65.91 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/1.414, allocations: 19.17 MB / 0.6896 GB, free: 51.92 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/1.428, allocations: 1.499 MB / 0.6911 GB, free: 50.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003132/1.431, allocations: 478.7 kB / 0.6915 GB, free: 50.32 MB / 474.8 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.00454/1.435, allocations: 1.082 MB / 0.6926 GB, free: 49.88 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003955/1.439, allocations: 1.392 MB / 0.694 GB, free: 48.67 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009714/1.449, allocations: 8.647 MB / 0.7024 GB, free: 41.56 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.449, allocations: 79.72 kB / 0.7025 GB, free: 41.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.449, allocations: 3.469 kB / 0.7025 GB, free: 41.48 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008701/1.458, allocations: 1.617 MB / 0.7041 GB, free: 39.88 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003383/1.458, allocations: 243.7 kB / 0.7043 GB, free: 39.83 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003121/1.461, allocations: 239.6 kB / 0.7045 GB, free: 39.77 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008315/1.47, allocations: 313.4 kB / 0.7048 GB, free: 39.64 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/1.471, allocations: 1.153 MB / 0.706 GB, free: 38.58 MB / 474.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01234/1.484, allocations: 7.868 MB / 0.7136 GB, free: 31.45 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01127/1.495, allocations: 8.942 MB / 0.7224 GB, free: 23.29 MB / 474.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002233/1.497, allocations: 2.347 MB / 0.7247 GB, free: 21.39 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004899/1.502, allocations: 4.055 MB / 0.7286 GB, free: 18.02 MB / 474.8 MB Notification: Performance of Backend: time 3.9e-07/1.502, allocations: 0 / 0.7286 GB, free: 18.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03346/1.536, allocations: 14.22 MB / 0.7425 GB, free: 5.539 MB / 474.8 MB Notification: Performance of SimCode: time 0.5387/2.074, allocations: 27.57 MB / 0.7694 GB, free: 88.81 MB / 490.8 MB Notification: Performance of Templates: time 0.4648/2.539, allocations: 277.8 MB / 1.041 GB, free: 68.51 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 -ignoreHideResult -lv LOG_STATS -s=ida > 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.488443368114531]