Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001506/0.001506, allocations: 83.03 kB / 19.95 MB, free: 1.77 MB / 14.72 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.001691/0.001691, allocations: 162.3 kB / 23.22 MB, free: 4.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06448/0.06448, allocations: 10.65 MB / 247.9 MB, free: 10.43 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 371.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.592e-05, allocations: 6.281 kB / 371.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001612/0.001647, allocations: 0.7095 MB / 372.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.001863, allocations: 27.91 kB / 372.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.001903, allocations: 0 / 372.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.001937, allocations: 7.984 kB / 372.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.001994, allocations: 0 / 372.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.002169, allocations: 7.938 kB / 372.5 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.002275, allocations: 15.98 kB / 372.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.002369, allocations: 4 kB / 372.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.002412, allocations: 11.98 kB / 372.5 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.002475, allocations: 7.938 kB / 372.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.002494, allocations: 4 kB / 372.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.002503, allocations: 0 / 372.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.002521, allocations: 0 / 372.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.002553, allocations: 4 kB / 372.6 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.002643, allocations: 27.95 kB / 372.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.002645, allocations: 0 / 372.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002646, allocations: 0 / 372.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.00265, allocations: 0 / 372.6 MB, free: 17.77 MB / 302.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.0002886/0.002939, allocations: 268.2 kB / 372.8 MB, free: 17.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.00298, allocations: 8.031 kB / 372.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.003021, allocations: 4.938 kB / 372.9 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.003088, allocations: 101.8 kB / 373 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.003104, allocations: 384 / 373 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.003118, allocations: 4.375 kB / 373 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.003245, allocations: 71.94 kB / 373 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.003256, allocations: 12.06 kB / 373 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.003266, allocations: 384 / 373 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.003272, allocations: 4.312 kB / 373 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.003313, allocations: 41.64 kB / 373.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.003702, allocations: 196.5 kB / 373.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.003765, allocations: 48.28 kB / 373.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.003805, allocations: 46.66 kB / 373.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.003818, allocations: 0 / 373.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.003839, allocations: 38.5 kB / 373.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.00384, allocations: 4 kB / 373.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.004054, allocations: 142.7 kB / 373.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.004093, allocations: 81.09 kB / 373.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.713e-05/0.004111, allocations: 89.86 kB / 373.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004119, allocations: 29.7 kB / 373.7 MB, free: 16.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.004137, allocations: 80.14 kB / 373.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.004155, allocations: 3.953 kB / 373.8 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.004183, allocations: 17.72 kB / 373.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.00423, allocations: 310.8 kB / 374.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.004259, allocations: 41.81 kB / 374.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.004282, allocations: 41.64 kB / 374.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.004339, allocations: 76.25 kB / 374.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004341, allocations: 0 / 374.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.501e-05/0.004426, allocations: 105.1 kB / 374.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.004456, allocations: 33.7 kB / 374.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.00446, allocations: 0 / 374.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.004477, allocations: 3.938 kB / 374.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.004518, allocations: 0 / 374.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.004525, allocations: 4 kB / 374.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.004569, allocations: 8.047 kB / 374.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.00458, allocations: 7.969 kB / 374.5 MB, free: 15.61 MB / 302.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 5.873e-05/0.004638, allocations: 141.5 kB / 374.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.004662, allocations: 8 kB / 374.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.004678, allocations: 15.05 kB / 374.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00468, allocations: 3.938 kB / 374.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.004683, allocations: 0 / 374.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.004686, allocations: 0 / 374.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.004768, allocations: 101.3 kB / 374.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004769, allocations: 0 / 374.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-06/0.004777, allocations: 7.938 kB / 374.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004778, allocations: 4 kB / 374.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.004788, allocations: 0 / 374.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.004788, allocations: 0 / 374.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00479, allocations: 7.875 kB / 374.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.005092, allocations: 1.009 MB / 375.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-06/0.005097, allocations: 3.984 kB / 375.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.005111, allocations: 0 / 375.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.005178, allocations: 4 kB / 375.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.00523, allocations: 4 kB / 375.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.005236, allocations: 8.031 kB / 375.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.366e-05/0.00525, allocations: 75.28 kB / 375.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-08/0.00525, allocations: 0 / 375.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.005573, allocations: 7.984 kB / 375.9 MB, free: 14.09 MB / 302.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.4e-05/0.005657, allocations: 95.25 kB / 375.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.005784, allocations: 138.7 kB / 376.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.005785, allocations: 0 / 376.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.005826, allocations: 93.09 kB / 376.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.00602, allocations: 12.12 kB / 376.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.006291, allocations: 229.2 kB / 376.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.006327, allocations: 59.34 kB / 376.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.087e-05/0.006338, allocations: 4 kB / 376.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.006353, allocations: 8.5 kB / 376.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.006353, allocations: 0 / 376.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Templates: time 0.002808/0.009162, allocations: 0.6059 MB / 377.1 MB, free: 12.76 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.317857772111893]