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.0006708/0.0006708, allocations: 85.05 kB / 9.997 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009369/0.001608, allocations: 444 kB / 10.43 MB, free: 264 kB / 10.45 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.0006535/0.0006535, allocations: 157.1 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008504/0.001504, allocations: 483.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 0.8961/0.8961, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1533/1.049, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.04332/0.04332, allocations: 10.64 MB / 232.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007565/0.05089, allocations: 4.16 MB / 236.2 MB, free: 1.801 MB / 234.7 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 2.385e-06/2.385e-06, allocations: 0 / 237.6 MB, free: 436 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.411e-05, allocations: 2.312 kB / 237.6 MB, free: 432 kB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002123/0.002147, allocations: 0.7801 MB / 238.4 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.104e-05/0.002228, allocations: 23.81 kB / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.002263, allocations: 3.938 kB / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.002289, allocations: 3.938 kB / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.888e-05/0.002318, allocations: 0 / 238.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.791e-05/0.002386, allocations: 8 kB / 238.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.002494, allocations: 23.97 kB / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.002572, allocations: 0 / 238.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.002618, allocations: 15.98 kB / 238.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.002696, allocations: 4 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.002716, allocations: 3.938 kB / 238.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.002726, allocations: 4 kB / 238.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.002744, allocations: 0 / 238.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.002768, allocations: 4 kB / 238.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.002853, allocations: 15.98 kB / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.002865, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.002866, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.002876, allocations: 0 / 238.5 MB, free: 15.53 MB / 250.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.0002888/0.003165, allocations: 242.4 kB / 238.7 MB, free: 15.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.003206, allocations: 19.89 kB / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.003245, allocations: 4.938 kB / 238.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.003318, allocations: 117.7 kB / 238.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.003329, allocations: 384 / 238.8 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.003343, allocations: 4.375 kB / 238.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.003452, allocations: 63.95 kB / 238.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.003461, allocations: 4.125 kB / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.003469, allocations: 384 / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003475, allocations: 384 / 238.9 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.003507, allocations: 45.62 kB / 239 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.003833, allocations: 148.2 kB / 239.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.003958, allocations: 48.28 kB / 239.2 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.003994, allocations: 46.66 kB / 239.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.004, allocations: 0 / 239.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.004027, allocations: 30.56 kB / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004028, allocations: 0 / 239.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.004198, allocations: 134.7 kB / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.004227, allocations: 59.34 kB / 239.4 MB, free: 14.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.468e-05/0.004262, allocations: 89.86 kB / 239.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.004274, allocations: 25.83 kB / 239.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.004305, allocations: 88.12 kB / 239.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.004324, allocations: 7.953 kB / 239.6 MB, free: 14.19 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.004356, allocations: 17.7 kB / 239.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.00444, allocations: 314.8 kB / 240 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.004466, allocations: 33.7 kB / 240 MB, free: 13.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.004489, allocations: 37.69 kB / 240 MB, free: 13.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.004547, allocations: 68.25 kB / 240.1 MB, free: 13.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004549, allocations: 0 / 240.1 MB, free: 13.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.608e-05/0.004635, allocations: 105 kB / 240.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.004669, allocations: 37.8 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.004674, allocations: 0 / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.004688, allocations: 0 / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.004724, allocations: 3.984 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004729, allocations: 3.938 kB / 240.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.004766, allocations: 4 kB / 240.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.004774, allocations: 4 kB / 240.2 MB, free: 13.51 MB / 250.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 6.88e-05/0.004843, allocations: 135.5 kB / 240.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.004865, allocations: 7.984 kB / 240.4 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.004881, allocations: 7.109 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004883, allocations: 4 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.004886, allocations: 3.938 kB / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004888, allocations: 0 / 240.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.004991, allocations: 73.8 kB / 240.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.004992, allocations: 0 / 240.5 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.005003, allocations: 7.984 kB / 240.5 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.005008, allocations: 3.984 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00501, allocations: 0 / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.005015, allocations: 0 / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.005018, allocations: 3.938 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.00502, allocations: 4 kB / 240.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.005555, allocations: 1.005 MB / 241.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.005569, allocations: 4 kB / 241.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.005627, allocations: 0 / 241.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.005666, allocations: 11.98 kB / 241.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.00567, allocations: 0 / 241.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.266e-06/0.005679, allocations: 4.859 kB / 241.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005679, allocations: 0 / 241.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.005997, allocations: 4 kB / 241.5 MB, free: 12.11 MB / 250.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.481e-05/0.006071, allocations: 76.42 kB / 241.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.006197, allocations: 139.7 kB / 241.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.006201, allocations: 0 / 241.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.006266, allocations: 97.95 kB / 241.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.006411, allocations: 15.88 kB / 241.8 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.006697, allocations: 241 kB / 242.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.006735, allocations: 59.34 kB / 242.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.277e-05/0.006748, allocations: 0 / 242.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.006805, allocations: 55.38 kB / 242.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006805, allocations: 4.188 kB / 242.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of Templates: time 0.002308/0.009113, allocations: 0.6026 MB / 242.8 MB, free: 10.71 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.467767607420683]