Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001056/0.001056, allocations: 72.17 kB / 9.919 MB, free: 0.7695 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002593, allocations: 443.8 kB / 10.35 MB, free: 344 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.001242/0.001242, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002733, allocations: 467.6 kB / 11.7 MB, free: 2.469 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.8474/0.8474, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1381/0.9855, allocations: 49.5 MB / 220.5 MB, free: 1.449 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.04875/0.04875, allocations: 10.63 MB / 231.9 MB, free: 6.086 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006777/0.05552, allocations: 4.152 MB / 236.1 MB, free: 1.922 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_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter=".*",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 237.5 MB, free: 440 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.226e-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.1732/0.1733, allocations: 98.91 MB / 336.5 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05303/0.2263, allocations: 37.57 MB / 374 MB, free: 184 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0161/0.2424, allocations: 386 kB / 374.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01447/0.2569, allocations: 5.686 MB / 380.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03822/0.2951, allocations: 17.08 MB / 397.2 MB, free: 9.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006175/0.3013, allocations: 1.974 MB / 399.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03862/0.3399, allocations: 36.83 MB / 436 MB, free: 2.141 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004218/0.3441, allocations: 1.44 MB / 437.4 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.284/0.6281, allocations: 19.39 MB / 456.8 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01745/0.6455, allocations: 10.45 MB / 467.2 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004634/0.6502, allocations: 1.346 MB / 468.6 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.6611, allocations: 3.344 MB / 471.9 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002627/0.6637, allocations: 2.332 MB / 474.3 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0137/0.6774, allocations: 6.218 MB / 480.5 MB, free: 15.56 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/0.6977, allocations: 15.37 MB / 495.9 MB, free: 14.05 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.959e-05/0.6977, allocations: 0 / 495.9 MB, free: 14.05 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6977, allocations: 0 / 495.9 MB, free: 14.05 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0004224/0.6982, allocations: 2.297 kB / 495.9 MB, free: 14.05 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.04957/0.7477, allocations: 31.56 MB / 0.5151 GB, free: 9.883 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7478, allocations: 15.88 kB / 0.5151 GB, free: 9.867 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008279/0.7561, allocations: 3.803 MB / 0.5188 GB, free: 6.777 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.7669, allocations: 5.353 MB / 0.524 GB, free: 2.008 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/0.7675, allocations: 1.172 MB / 0.5252 GB, free: 1.234 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.7686, allocations: 1.3 MB / 0.5264 GB, free: 376 kB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009465/0.7781, allocations: 9.436 MB / 0.5356 GB, free: 7.379 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.7782, allocations: 19.81 kB / 0.5357 GB, free: 7.371 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006621/0.7789, allocations: 0.5507 MB / 0.5362 GB, free: 6.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.7791, allocations: 336 kB / 0.5365 GB, free: 6.492 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006409/0.7855, allocations: 5.597 MB / 0.542 GB, free: 0.9727 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.06164/0.8471, allocations: 43.2 MB / 0.5842 GB, free: 7.102 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1726/1.02, allocations: 13.16 MB / 0.597 GB, free: 87.11 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005161/1.025, allocations: 3.298 MB / 0.6002 GB, free: 86.86 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/1.025, allocations: 264 kB / 0.6005 GB, free: 86.84 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003895/1.029, allocations: 4.36 MB / 0.6047 GB, free: 86.11 MB / 474.8 MB Notification: Performance of pre-optimization done (n=1464): time 1.84e-05/1.029, allocations: 0 / 0.6047 GB, free: 86.11 MB / 474.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01409/1.043, allocations: 9.423 MB / 0.6139 GB, free: 85.42 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.044, allocations: 0.7389 MB / 0.6147 GB, free: 84.69 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007527/1.051, allocations: 7.779 MB / 0.6223 GB, free: 84.17 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005319/1.052, allocations: 257.8 kB / 0.6225 GB, free: 84.14 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002839/1.054, allocations: 4.872 MB / 0.6273 GB, free: 83.04 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003646/1.058, allocations: 5.359 MB / 0.6325 GB, free: 79.54 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002388/1.06, allocations: 2.624 MB / 0.6351 GB, free: 79.33 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.05e-05/1.061, allocations: 305.1 kB / 0.6354 GB, free: 79.03 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/1.063, allocations: 1.68 MB / 0.637 GB, free: 78.86 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/1.066, allocations: 5.389 MB / 0.6423 GB, free: 74.88 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/1.072, allocations: 8.653 MB / 0.6507 GB, free: 70.63 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-05/1.072, allocations: 28.91 kB / 0.6507 GB, free: 70.63 MB / 474.8 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.01317/1.085, allocations: 10.61 MB / 0.6611 GB, free: 69.74 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.085, allocations: 169.4 kB / 0.6613 GB, free: 69.61 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-05/1.086, allocations: 102.6 kB / 0.6614 GB, free: 69.61 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/1.099, allocations: 6.326 MB / 0.6675 GB, free: 68.58 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006325/1.105, allocations: 3.468 MB / 0.6709 GB, free: 65.84 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/1.125, allocations: 19.18 MB / 0.6897 GB, free: 51.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/1.136, allocations: 1.49 MB / 0.6911 GB, free: 50.63 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008475/1.137, allocations: 481.6 kB / 0.6916 GB, free: 50.29 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.002649/1.139, allocations: 1.089 MB / 0.6926 GB, free: 49.84 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00229/1.142, allocations: 1.386 MB / 0.694 GB, free: 48.63 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/1.15, allocations: 8.655 MB / 0.7024 GB, free: 41.52 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/1.15, allocations: 74.92 kB / 0.7025 GB, free: 41.45 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.15, allocations: 4 kB / 0.7025 GB, free: 41.45 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004674/1.155, allocations: 1.612 MB / 0.7041 GB, free: 39.85 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/1.155, allocations: 247.2 kB / 0.7043 GB, free: 39.79 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/1.156, allocations: 234.6 kB / 0.7045 GB, free: 39.73 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00453/1.161, allocations: 318.7 kB / 0.7048 GB, free: 39.6 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.162, allocations: 1.149 MB / 0.706 GB, free: 38.54 MB / 474.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009495/1.171, allocations: 7.875 MB / 0.7137 GB, free: 31.41 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03203/1.203, allocations: 26.21 MB / 0.7393 GB, free: 8.652 MB / 474.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002326/1.206, allocations: 2.343 MB / 0.7415 GB, free: 6.402 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002986/1.209, allocations: 4.06 MB / 0.7455 GB, free: 2.844 MB / 474.8 MB Notification: Performance of Backend: time 4.9e-07/1.209, allocations: 0 / 0.7455 GB, free: 2.844 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01874/1.227, allocations: 14.22 MB / 0.7594 GB, free: 5.254 MB / 490.8 MB Notification: Performance of SimCode: time 0.5063/1.734, allocations: 43.02 MB / 0.8014 GB, free: 74.11 MB / 490.8 MB Notification: Performance of Templates: time 0.4332/2.167, allocations: 297.2 MB / 1.092 GB, free: 14.1 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > PowerGrids_symb_jac_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.540871846489608]