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.0008781/0.0008781, allocations: 92.22 kB / 19.65 MB, free: 280 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.0008852/0.0008852, allocations: 169 kB / 23.02 MB, free: 1.547 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.8887/0.8887, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.04709/0.04709, allocations: 12.97 MB / 272.9 MB, free: 480 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.933e-06/1.933e-06, allocations: 0 / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.142e-05, allocations: 2.312 kB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001726/0.001747, allocations: 0.7199 MB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.00191, allocations: 23.91 kB / 350.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.001937, allocations: 4 kB / 350.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.001966, allocations: 3.938 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.002008, allocations: 0 / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.002136, allocations: 11.98 kB / 350.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.002232, allocations: 23.92 kB / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.002306, allocations: 0 / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.002342, allocations: 11.98 kB / 350.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.002402, allocations: 4 kB / 350.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.002417, allocations: 0 / 350.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002425, allocations: 0 / 350.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.00244, allocations: 8 kB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.002472, allocations: 7.984 kB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.59e-05/0.002548, allocations: 11.98 kB / 350.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00255, allocations: 3.938 kB / 350.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002551, allocations: 0 / 350.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.002555, allocations: 0 / 350.4 MB, free: 14.28 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.0003137/0.002869, allocations: 370.1 kB / 350.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.002911, allocations: 11.97 kB / 350.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.002954, allocations: 4.938 kB / 350.7 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.445e-05/0.003018, allocations: 108.6 kB / 350.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.003032, allocations: 4.375 kB / 350.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.003042, allocations: 4.375 kB / 350.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.003161, allocations: 67.95 kB / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.003168, allocations: 192 / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.003176, allocations: 384 / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.003184, allocations: 384 / 350.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.003224, allocations: 45.62 kB / 351 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.003582, allocations: 251.7 kB / 351.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.003651, allocations: 64.8 kB / 351.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.00369, allocations: 41.45 kB / 351.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.003697, allocations: 3.984 kB / 351.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.003721, allocations: 37.39 kB / 351.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.003722, allocations: 0 / 351.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002004/0.003922, allocations: 146.7 kB / 351.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.003961, allocations: 77.11 kB / 351.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.051e-05/0.004002, allocations: 142.2 kB / 351.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.004015, allocations: 29.7 kB / 351.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.004051, allocations: 126.9 kB / 351.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.00407, allocations: 8.297 kB / 351.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.004106, allocations: 23.36 kB / 351.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.004226, allocations: 492.2 kB / 352.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.004255, allocations: 41.7 kB / 352.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.00428, allocations: 33.69 kB / 352.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.00434, allocations: 75.09 kB / 352.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004342, allocations: 0 / 352.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.289e-05/0.004435, allocations: 109 kB / 352.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.004461, allocations: 33.7 kB / 352.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.004466, allocations: 3.984 kB / 352.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.004483, allocations: 7.922 kB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.765e-05/0.00452, allocations: 3.938 kB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.004524, allocations: 4.094 kB / 352.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.004553, allocations: 4 kB / 352.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.00456, allocations: 0 / 352.7 MB, free: 11.65 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.205e-05/0.004632, allocations: 182.3 kB / 352.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.004658, allocations: 11.95 kB / 352.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.004673, allocations: 7.141 kB / 352.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.004676, allocations: 3.938 kB / 352.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.004681, allocations: 4 kB / 352.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.004683, allocations: 0 / 352.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.004789, allocations: 108.6 kB / 353 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004789, allocations: 4 kB / 353 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.004797, allocations: 4 kB / 353 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.004798, allocations: 0 / 353 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.004806, allocations: 3.984 kB / 353 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.004807, allocations: 0 / 353 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.004809, allocations: 3.938 kB / 353 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.004944, allocations: 259.3 kB / 353.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.004949, allocations: 0 / 353.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.004958, allocations: 0 / 353.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.005011, allocations: 4 kB / 353.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.005052, allocations: 15.95 kB / 353.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.005056, allocations: 0 / 353.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.005087, allocations: 119.2 kB / 353.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005087, allocations: 0 / 353.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.005302, allocations: 8 kB / 353.4 MB, free: 10.84 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.865e-05/0.005381, allocations: 95.25 kB / 353.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.005524, allocations: 138.4 kB / 353.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005526, allocations: 0 / 353.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.005584, allocations: 104.8 kB / 353.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.005789, allocations: 12.06 kB / 353.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.006016, allocations: 136 kB / 353.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.006054, allocations: 55.34 kB / 353.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.006066, allocations: 0 / 353.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.006088, allocations: 12.5 kB / 353.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.006089, allocations: 0 / 353.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of Templates: time 0.002364/0.008453, allocations: 0.6675 MB / 354.6 MB, free: 9.543 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.5842656423337758]