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.001347/0.001347, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001382/0.001382, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.423/1.423, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.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.07975/0.07975, allocations: 16.95 MB / 321.5 MB, free: 12.65 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.002016/0.002016, allocations: 72.33 kB / 451.9 MB, free: 44.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09836, allocations: 56.52 MB / 0.4965 GB, free: 16.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001659/0.1, allocations: 0.7305 MB / 0.4972 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000164/0.1002, allocations: 26.58 kB / 0.4972 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1002, allocations: 0 / 0.4972 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.1003, allocations: 7.875 kB / 0.4973 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.1003, allocations: 0 / 0.4973 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1004, allocations: 5.781 kB / 0.4973 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.1005, allocations: 17.02 kB / 0.4973 GB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.1006, allocations: 7.406 kB / 0.4973 GB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.1006, allocations: 4.766 kB / 0.4973 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.1006, allocations: 10.34 kB / 0.4973 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1007, allocations: 2.375 kB / 0.4973 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.1007, allocations: 1.688 kB / 0.4973 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1007, allocations: 3.938 kB / 0.4973 GB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1007, allocations: 7.188 kB / 0.4973 GB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.432e-05/0.1008, allocations: 19.2 kB / 0.4973 GB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1008, allocations: 1.906 kB / 0.4973 GB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1008, allocations: 0 / 0.4973 GB, free: 15.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1008, allocations: 0 / 0.4973 GB, free: 15.56 MB / 366.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.000231/0.101, allocations: 347.2 kB / 0.4977 GB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.101, allocations: 16.83 kB / 0.4977 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1011, allocations: 6.266 kB / 0.4977 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.555e-05/0.1011, allocations: 164.4 kB / 0.4978 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1011, allocations: 1.75 kB / 0.4978 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1011, allocations: 3.125 kB / 0.4978 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1013, allocations: 45.06 kB / 0.4979 GB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1013, allocations: 1.562 kB / 0.4979 GB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1013, allocations: 7.922 kB / 0.4979 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1013, allocations: 1.375 kB / 0.4979 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.1013, allocations: 12.06 kB / 0.4979 GB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1016, allocations: 248 kB / 0.4981 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.1017, allocations: 28.02 kB / 0.4982 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.1017, allocations: 14.36 kB / 0.4982 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.1017, allocations: 0 / 0.4982 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.1017, allocations: 35.94 kB / 0.4982 GB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1017, allocations: 0 / 0.4982 GB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.1019, allocations: 89.19 kB / 0.4983 GB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.1019, allocations: 82.48 kB / 0.4984 GB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.37e-05/0.1019, allocations: 89.86 kB / 0.4985 GB, free: 14.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.102, allocations: 27.08 kB / 0.4985 GB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.311e-05/0.102, allocations: 80.14 kB / 0.4986 GB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.102, allocations: 5.328 kB / 0.4986 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.102, allocations: 13.97 kB / 0.4986 GB, free: 14.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.102, allocations: 318.8 kB / 0.4989 GB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.1021, allocations: 8.109 kB / 0.4989 GB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.1021, allocations: 13.44 kB / 0.4989 GB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.1021, allocations: 73.89 kB / 0.499 GB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1021, allocations: 5.359 kB / 0.499 GB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.326e-05/0.1022, allocations: 81.03 kB / 0.4991 GB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1022, allocations: 36.56 kB / 0.4991 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1022, allocations: 4.094 kB / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1022, allocations: 0 / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.1023, allocations: 1.375 kB / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1023, allocations: 1.375 kB / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1023, allocations: 2.75 kB / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1023, allocations: 0 / 0.4991 GB, free: 13.59 MB / 366.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 4.585e-05/0.1024, allocations: 139.7 kB / 0.4992 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1024, allocations: 9.297 kB / 0.4993 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.1024, allocations: 3.125 kB / 0.4993 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1024, allocations: 5.375 kB / 0.4993 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1024, allocations: 4 kB / 0.4993 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1024, allocations: 3.938 kB / 0.4993 GB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1025, allocations: 153.7 kB / 0.4994 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1025, allocations: 0 / 0.4994 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.1025, allocations: 1.375 kB / 0.4994 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1025, allocations: 0 / 0.4994 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1025, allocations: 5.375 kB / 0.4994 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1025, allocations: 11.91 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1025, allocations: 1.375 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.679e-05/0.1026, allocations: 179.1 kB / 0.4996 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.1027, allocations: 81.06 kB / 0.4997 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1027, allocations: 1.375 kB / 0.4997 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1027, allocations: 2.75 kB / 0.4997 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1028, allocations: 13.34 kB / 0.4997 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1028, allocations: 1.375 kB / 0.4997 GB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.989e-06/0.1028, allocations: 75.28 kB / 0.4998 GB, free: 12.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1028, allocations: 4.031 kB / 0.4998 GB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.103, allocations: 5.5 kB / 0.4998 GB, free: 12.84 MB / 366.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 8.11e-05/0.1031, allocations: 97.12 kB / 0.4999 GB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1032, allocations: 81.08 kB / 0.5 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1032, allocations: 1.375 kB / 0.5 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.1033, allocations: 63.66 kB / 0.5 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1035, allocations: 16.86 kB / 0.5 GB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.1036, allocations: 107 kB / 0.5001 GB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.72e-05/0.1037, allocations: 0.6742 MB / 0.5008 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.023e-05/0.1037, allocations: 1.375 kB / 0.5008 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.1037, allocations: 12.75 kB / 0.5008 GB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1037, allocations: 0 / 0.5008 GB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.002577/0.1063, allocations: 0.575 MB / 0.5014 GB, free: 11.48 MB / 366.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.7103869980201125]