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.001198/0.001198, 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.001366/0.001366, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.04934/0.04934, allocations: 12.95 MB / 272.9 MB, free: 0.5 MB / 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 2.104e-06/2.104e-06, allocations: 0 / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.157e-05, allocations: 2.312 kB / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002172/0.002203, allocations: 0.7212 MB / 350.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002112/0.002415, allocations: 27.84 kB / 350.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.002449, allocations: 0 / 350.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.002482, allocations: 0 / 350.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.002537, allocations: 7.938 kB / 350.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.002716, allocations: 8 kB / 350.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.002828, allocations: 23.92 kB / 350.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.002934, allocations: 3.984 kB / 350.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.002985, allocations: 11.98 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.003051, allocations: 4 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.003071, allocations: 0 / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.00308, allocations: 4 kB / 350.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.003097, allocations: 0 / 350.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.003132, allocations: 8 kB / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.267e-05/0.003225, allocations: 15.98 kB / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003228, allocations: 0 / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.00323, allocations: 3.984 kB / 350.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.003236, allocations: 0 / 350.3 MB, free: 14.32 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.0003669/0.003603, allocations: 366.1 kB / 350.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.003644, allocations: 12.03 kB / 350.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.003687, allocations: 4.938 kB / 350.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/0.00375, allocations: 108.6 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.003762, allocations: 384 / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.003778, allocations: 8.312 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003913, allocations: 67.95 kB / 350.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.003924, allocations: 4.188 kB / 350.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.003934, allocations: 384 / 350.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.003942, allocations: 384 / 350.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.003983, allocations: 45.62 kB / 350.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.004357, allocations: 243.8 kB / 351.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.004427, allocations: 64.73 kB / 351.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.00447, allocations: 45.45 kB / 351.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004478, allocations: 0 / 351.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.004504, allocations: 37.39 kB / 351.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.004506, allocations: 3.984 kB / 351.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002853/0.004792, allocations: 146.7 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.004841, allocations: 81.11 kB / 351.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.004892, allocations: 142.2 kB / 351.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.004906, allocations: 29.64 kB / 351.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.004947, allocations: 126.9 kB / 351.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.00497, allocations: 4.297 kB / 351.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.00501, allocations: 27.36 kB / 351.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.005155, allocations: 496.1 kB / 352.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.005192, allocations: 29.7 kB / 352.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.005225, allocations: 45.81 kB / 352.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.005296, allocations: 75.09 kB / 352.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.005299, allocations: 0 / 352.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.005418, allocations: 105.1 kB / 352.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.005451, allocations: 33.7 kB / 352.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.005457, allocations: 0 / 352.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.005476, allocations: 3.938 kB / 352.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.005529, allocations: 7.938 kB / 352.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.005534, allocations: 0 / 352.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.005576, allocations: 3.984 kB / 352.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.005585, allocations: 8.031 kB / 352.6 MB, free: 11.7 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 8.325e-05/0.005668, allocations: 182.3 kB / 352.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.005696, allocations: 7.953 kB / 352.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.005717, allocations: 7.156 kB / 352.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.00572, allocations: 3.938 kB / 352.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005724, allocations: 4 kB / 352.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.005728, allocations: 3.984 kB / 352.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.005853, allocations: 108.6 kB / 352.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005855, allocations: 0 / 352.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.00587, allocations: 4 kB / 352.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005872, allocations: 4 kB / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.00588, allocations: 0 / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005881, allocations: 0 / 352.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.005885, allocations: 3.938 kB / 353 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.006176, allocations: 263.3 kB / 353.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.006181, allocations: 0 / 353.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006193, allocations: 0 / 353.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.006259, allocations: 4 kB / 353.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.006308, allocations: 7.922 kB / 353.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.006314, allocations: 4 kB / 353.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.292e-05/0.006347, allocations: 123.2 kB / 353.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006347, allocations: 0 / 353.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.006598, allocations: 8 kB / 353.4 MB, free: 10.89 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 0.0001315/0.006729, allocations: 95.25 kB / 353.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.006892, allocations: 138.5 kB / 353.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006893, allocations: 0 / 353.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.00696, allocations: 104.7 kB / 353.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.00719, allocations: 4 kB / 353.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.007463, allocations: 140.2 kB / 353.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.007502, allocations: 51.36 kB / 353.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.007514, allocations: 4 kB / 353.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.007537, allocations: 8.5 kB / 353.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007538, allocations: 0 / 353.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of Templates: time 0.002905/0.01044, allocations: 0.6324 MB / 354.5 MB, free: 9.633 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.9848364498466253]