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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 189.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.08339/0.08339, allocations: 16.94 MB / 323.2 MB, free: 8.121 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001837/0.001837, allocations: 63.89 kB / 454.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09946, allocations: 56.57 MB / 0.4989 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001892/0.1014, allocations: 0.7128 MB / 0.4996 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001541/0.1015, allocations: 27.91 kB / 0.4997 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1015, allocations: 0 / 0.4997 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.1016, allocations: 7.922 kB / 0.4997 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.1016, allocations: 4 kB / 0.4997 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.1017, allocations: 8 kB / 0.4997 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.1018, allocations: 19.92 kB / 0.4997 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.1019, allocations: 4 kB / 0.4997 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.1019, allocations: 4 kB / 0.4997 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.102, allocations: 11.98 kB / 0.4997 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.102, allocations: 0 / 0.4997 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-06/0.102, allocations: 4 kB / 0.4997 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.102, allocations: 3.984 kB / 0.4997 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.102, allocations: 3.938 kB / 0.4997 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.1021, allocations: 23.91 kB / 0.4998 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1021, allocations: 0 / 0.4998 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1021, allocations: 4 kB / 0.4998 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1021, allocations: 0 / 0.4998 GB, free: 12.88 MB / 382.1 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.0003082/0.1024, allocations: 264.1 kB / 0.5 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1025, allocations: 16.91 kB / 0.5 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.1025, allocations: 4.891 kB / 0.5 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.1026, allocations: 106.5 kB / 0.5001 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1026, allocations: 4.375 kB / 0.5001 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1026, allocations: 4.375 kB / 0.5001 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1027, allocations: 46.19 kB / 0.5002 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.1027, allocations: 192 / 0.5002 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1027, allocations: 3.938 kB / 0.5002 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1027, allocations: 0 / 0.5002 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.1028, allocations: 15.98 kB / 0.5002 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.1032, allocations: 212 kB / 0.5004 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.1032, allocations: 34.52 kB / 0.5004 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.1033, allocations: 16.91 kB / 0.5005 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.1033, allocations: 3.938 kB / 0.5005 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1033, allocations: 34.56 kB / 0.5005 GB, free: 12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1033, allocations: 0 / 0.5005 GB, free: 12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.1035, allocations: 83.39 kB / 0.5006 GB, free: 11.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1036, allocations: 77.11 kB / 0.5007 GB, free: 11.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.1036, allocations: 93.98 kB / 0.5007 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1036, allocations: 29.7 kB / 0.5008 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.1037, allocations: 80.14 kB / 0.5008 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1037, allocations: 7.938 kB / 0.5009 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.1037, allocations: 17.72 kB / 0.5009 GB, free: 11.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1039, allocations: 310.8 kB / 0.5012 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.1039, allocations: 4 kB / 0.5012 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.1039, allocations: 15.92 kB / 0.5012 GB, free: 11.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.104, allocations: 80.33 kB / 0.5013 GB, free: 11.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.104, allocations: 0 / 0.5013 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.1041, allocations: 83.33 kB / 0.5013 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.1042, allocations: 29.7 kB / 0.5014 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1042, allocations: 4 kB / 0.5014 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1042, allocations: 0 / 0.5014 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.1042, allocations: 4 kB / 0.5014 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1042, allocations: 0 / 0.5014 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1043, allocations: 7.984 kB / 0.5014 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1043, allocations: 4.031 kB / 0.5014 GB, free: 10.99 MB / 382.1 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 0.000104/0.1044, allocations: 143.5 kB / 0.5015 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1044, allocations: 7.875 kB / 0.5015 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.1044, allocations: 3.156 kB / 0.5015 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1044, allocations: 0 / 0.5015 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1044, allocations: 4 kB / 0.5015 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1044, allocations: 0 / 0.5015 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1046, allocations: 128.7 kB / 0.5017 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1046, allocations: 4 kB / 0.5017 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.1046, allocations: 4 kB / 0.5017 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1046, allocations: 0 / 0.5017 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1046, allocations: 3.938 kB / 0.5017 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1046, allocations: 0 / 0.5017 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1046, allocations: 4 kB / 0.5017 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.1048, allocations: 173.2 kB / 0.5018 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.1048, allocations: 3.953 kB / 0.5018 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1048, allocations: 8.031 kB / 0.5019 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.1049, allocations: 7.984 kB / 0.5019 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1049, allocations: 7.984 kB / 0.5019 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1049, allocations: 0 / 0.5019 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.214e-05/0.105, allocations: 79.22 kB / 0.5019 GB, free: 10.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.105, allocations: 0 / 0.5019 GB, free: 10.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1052, allocations: 4 kB / 0.5019 GB, free: 10.33 MB / 382.1 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.0001049/0.1053, allocations: 99.72 kB / 0.502 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1054, allocations: 83.39 kB / 0.5021 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1054, allocations: 0 / 0.5021 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.1055, allocations: 67.39 kB / 0.5022 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1057, allocations: 7.938 kB / 0.5022 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1059, allocations: 96.91 kB / 0.5023 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1062, allocations: 0.6729 MB / 0.5029 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.1062, allocations: 3.938 kB / 0.5029 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.1062, allocations: 7.438 kB / 0.503 GB, free: 9.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1062, allocations: 4.125 kB / 0.503 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Templates: time 0.002771/0.109, allocations: 0.5803 MB / 0.5035 GB, free: 8.637 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.437550814822316]