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.00108/0.00108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002519, allocations: 440 kB / 10.41 MB, free: 284 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.001004/0.001004, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.00234, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.8426/0.8426, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1378/0.9804, allocations: 49.51 MB / 220.7 MB, free: 1.355 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.03837/0.03837, allocations: 10.64 MB / 232 MB, free: 5.973 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00638/0.04475, allocations: 4.151 MB / 236.2 MB, free: 1.812 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.012e-06/1.012e-06, allocations: 0 / 237.7 MB, free: 308 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.31e-05, allocations: 2.312 kB / 237.7 MB, free: 304 kB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.1939/0.194, allocations: 98.93 MB / 336.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05934/0.2533, allocations: 37.58 MB / 374.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01712/0.2704, allocations: 385.9 kB / 374.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01515/0.2856, allocations: 5.682 MB / 380.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04055/0.3261, allocations: 17.08 MB / 397.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.3322, allocations: 1.971 MB / 399.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.04315/0.3753, allocations: 36.83 MB / 436.1 MB, free: 1.957 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004877/0.3802, allocations: 1.436 MB / 437.6 MB, free: 440 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.306/0.6862, allocations: 19.43 MB / 457 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02294/0.7091, allocations: 10.45 MB / 467.5 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.7127, allocations: 1.344 MB / 468.8 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009193/0.7219, allocations: 3.345 MB / 472.1 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.7235, allocations: 2.34 MB / 474.5 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008458/0.7319, allocations: 6.217 MB / 480.7 MB, free: 15.64 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.7504, allocations: 15.33 MB / 496 MB, free: 14.13 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.7504, allocations: 0 / 496 MB, free: 14.13 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.7504, allocations: 0 / 496 MB, free: 14.13 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0003329/0.7507, allocations: 0 / 496 MB, free: 14.13 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.06494/0.8157, allocations: 31.51 MB / 0.5152 GB, free: 9.676 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8157, allocations: 11.89 kB / 0.5152 GB, free: 9.664 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009018/0.8247, allocations: 3.805 MB / 0.5189 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.8369, allocations: 5.362 MB / 0.5241 GB, free: 1.797 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005458/0.8374, allocations: 1.168 MB / 0.5253 GB, free: 1.027 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.8386, allocations: 1.292 MB / 0.5265 GB, free: 168 kB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.8492, allocations: 9.442 MB / 0.5358 GB, free: 7.148 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.8494, allocations: 17.84 kB / 0.5358 GB, free: 7.141 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009567/0.8504, allocations: 0.5468 MB / 0.5363 GB, free: 6.594 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.8505, allocations: 336 kB / 0.5366 GB, free: 6.266 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007043/0.8576, allocations: 5.597 MB / 0.5421 GB, free: 0.7461 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.07005/0.9276, allocations: 43.2 MB / 0.5843 GB, free: 6.867 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1922/1.12, allocations: 13.16 MB / 0.5971 GB, free: 86.73 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005874/1.126, allocations: 3.288 MB / 0.6004 GB, free: 86.48 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/1.126, allocations: 265.7 kB / 0.6006 GB, free: 86.46 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004469/1.131, allocations: 4.37 MB / 0.6049 GB, free: 85.73 MB / 474.8 MB Notification: Performance of pre-optimization done (n=1464): time 1.998e-05/1.131, allocations: 0 / 0.6049 GB, free: 85.73 MB / 474.8 MB Notification: Performance of matching and sorting (n=1464): time 0.01634/1.147, allocations: 9.42 MB / 0.6141 GB, free: 85.04 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/1.147, allocations: 0.6504 MB / 0.6147 GB, free: 84.43 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.157, allocations: 7.778 MB / 0.6223 GB, free: 83.91 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008649/1.158, allocations: 257.1 kB / 0.6225 GB, free: 83.88 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003521/1.162, allocations: 4.87 MB / 0.6273 GB, free: 82.78 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005341/1.167, allocations: 5.358 MB / 0.6325 GB, free: 79.28 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003162/1.17, allocations: 2.625 MB / 0.6351 GB, free: 79.07 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.86e-05/1.17, allocations: 306 kB / 0.6354 GB, free: 78.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.173, allocations: 1.677 MB / 0.637 GB, free: 78.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/1.177, allocations: 5.393 MB / 0.6423 GB, free: 74.61 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009022/1.186, allocations: 8.989 MB / 0.6511 GB, free: 70.35 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.186, allocations: 28.66 kB / 0.6511 GB, free: 70.35 MB / 474.8 MB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.01914/1.205, allocations: 10.6 MB / 0.6615 GB, free: 69.46 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.206, allocations: 168.9 kB / 0.6616 GB, free: 69.34 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.206, allocations: 105.7 kB / 0.6617 GB, free: 69.34 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/1.221, allocations: 6.35 MB / 0.6679 GB, free: 67.98 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007849/1.229, allocations: 3.466 MB / 0.6713 GB, free: 65.23 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/1.252, allocations: 19.09 MB / 0.6899 GB, free: 51.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/1.265, allocations: 1.491 MB / 0.6914 GB, free: 50.11 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.267, allocations: 479.1 kB / 0.6919 GB, free: 49.77 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.003828/1.271, allocations: 1.096 MB / 0.6929 GB, free: 49.32 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00382/1.274, allocations: 1.384 MB / 0.6943 GB, free: 48.11 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.285, allocations: 8.652 MB / 0.7027 GB, free: 41 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/1.285, allocations: 71.73 kB / 0.7028 GB, free: 40.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.285, allocations: 0 / 0.7028 GB, free: 40.93 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007867/1.292, allocations: 1.617 MB / 0.7044 GB, free: 39.33 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003791/1.293, allocations: 240.7 kB / 0.7046 GB, free: 39.27 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002357/1.295, allocations: 246.5 kB / 0.7048 GB, free: 39.21 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00555/1.301, allocations: 316.7 kB / 0.7051 GB, free: 39.09 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/1.302, allocations: 1.15 MB / 0.7063 GB, free: 38.02 MB / 474.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01063/1.313, allocations: 7.798 MB / 0.7139 GB, free: 30.96 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0102/1.323, allocations: 8.945 MB / 0.7226 GB, free: 22.8 MB / 474.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002042/1.325, allocations: 2.338 MB / 0.7249 GB, free: 20.91 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004604/1.33, allocations: 4.054 MB / 0.7289 GB, free: 17.53 MB / 474.8 MB Notification: Performance of Backend: time 7.51e-07/1.33, allocations: 0 / 0.7289 GB, free: 17.53 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02329/1.353, allocations: 14.41 MB / 0.7429 GB, free: 4.93 MB / 474.8 MB Notification: Performance of SimCode: time 0.5399/1.893, allocations: 27.56 MB / 0.7698 GB, free: 88.45 MB / 490.8 MB Notification: Performance of Templates: time 0.4559/2.349, allocations: 277.2 MB / 1.041 GB, free: 68.09 MB / 0.5105 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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.675800095312297]