Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.001384/0.001384, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001651/0.001651, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9878/0.9878, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04636/0.04636, allocations: 12.99 MB / 273.2 MB, free: 296 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.217e-05, allocations: 2.312 kB / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00173/0.001752, allocations: 0.7212 MB / 350.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.00193, allocations: 31.84 kB / 350.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.001966, allocations: 4 kB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.001991, allocations: 0 / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.002036, allocations: 3.938 kB / 350.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.002167, allocations: 7.984 kB / 350.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.816e-05/0.002255, allocations: 15.94 kB / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.002344, allocations: 7.984 kB / 350.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.002385, allocations: 8 kB / 350.8 MB, free: 14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.002448, allocations: 4 kB / 350.8 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.002465, allocations: 4 kB / 350.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.002473, allocations: 0 / 350.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.002491, allocations: 11.97 kB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.002512, allocations: 4 kB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.568e-05/0.002588, allocations: 11.98 kB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00259, allocations: 0 / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00259, allocations: 3.938 kB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002594, allocations: 0 / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002984/0.002892, allocations: 370.1 kB / 351.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.002936, allocations: 8.031 kB / 351.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.002968, allocations: 4.938 kB / 351.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.00303, allocations: 104.6 kB / 351.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.003042, allocations: 4.375 kB / 351.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003052, allocations: 12.31 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.003147, allocations: 63.95 kB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003154, allocations: 192 / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003162, allocations: 4.375 kB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.003168, allocations: 384 / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.0032, allocations: 41.62 kB / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.003496, allocations: 236.4 kB / 351.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.003555, allocations: 64.73 kB / 351.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.00359, allocations: 45.44 kB / 351.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.003596, allocations: 4 kB / 351.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.003622, allocations: 33.39 kB / 351.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.003623, allocations: 4 kB / 351.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.003815, allocations: 138.7 kB / 352 MB, free: 12.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.003855, allocations: 77.11 kB / 352 MB, free: 12.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.003903, allocations: 142.2 kB / 352.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.003915, allocations: 29.64 kB / 352.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.003962, allocations: 130.9 kB / 352.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.003982, allocations: 12.28 kB / 352.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.004014, allocations: 19.38 kB / 352.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.004141, allocations: 496.2 kB / 352.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.004162, allocations: 29.7 kB / 352.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.004186, allocations: 37.69 kB / 352.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.004241, allocations: 75.08 kB / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004243, allocations: 0 / 353 MB, free: 11.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.577e-05/0.004329, allocations: 101.1 kB / 353.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.004355, allocations: 33.7 kB / 353.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004359, allocations: 0 / 353.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.00437, allocations: 7.984 kB / 353.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.004401, allocations: 11.97 kB / 353.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.004404, allocations: 3.938 kB / 353.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.004434, allocations: 4 kB / 353.2 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.00444, allocations: 0 / 353.2 MB, free: 11.37 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.004515, allocations: 182.3 kB / 353.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.004539, allocations: 7.953 kB / 353.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.004556, allocations: 7.141 kB / 353.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.004558, allocations: 0 / 353.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.00456, allocations: 3.938 kB / 353.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.004562, allocations: 0 / 353.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.004671, allocations: 93.27 kB / 353.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004672, allocations: 4 kB / 353.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-06/0.004679, allocations: 0 / 353.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.004681, allocations: 0 / 353.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.004688, allocations: 8 kB / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.004689, allocations: 0 / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00469, allocations: 0 / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.004823, allocations: 259.2 kB / 353.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-06/0.004827, allocations: 0 / 353.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.004837, allocations: 4 kB / 353.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.004889, allocations: 0 / 353.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.004918, allocations: 12.02 kB / 353.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.004924, allocations: 4 kB / 353.7 MB, free: 10.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.004957, allocations: 127.1 kB / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004958, allocations: 0 / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.005175, allocations: 4 kB / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.639e-05/0.005251, allocations: 95.25 kB / 353.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.00537, allocations: 130.5 kB / 354.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005371, allocations: 0 / 354.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.00543, allocations: 108.8 kB / 354.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.005614, allocations: 4.062 kB / 354.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.005803, allocations: 132.1 kB / 354.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.005837, allocations: 55.36 kB / 354.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.116e-05/0.005849, allocations: 0 / 354.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.005909, allocations: 78.19 kB / 354.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.00591, allocations: 0 / 354.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of Templates: time 0.002047/0.007957, allocations: 0.6838 MB / 355.1 MB, free: 9.219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_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: 2.487820794340223]