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.0009193/0.0009193, allocations: 72.17 kB / 9.919 MB, free: 0.7695 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002224, allocations: 443.8 kB / 10.35 MB, free: 344 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.0006842/0.0006842, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009251/0.001609, allocations: 467.6 kB / 11.7 MB, free: 2.469 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.8525/0.8525, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1611/1.014, allocations: 49.5 MB / 220.5 MB, free: 5.262 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.04705/0.04705, allocations: 10.62 MB / 231.9 MB, free: 9.91 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007712/0.05477, allocations: 4.147 MB / 236.1 MB, free: 5.746 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 5.901e-06/5.901e-06, allocations: 0 / 237.4 MB, free: 4.391 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.74e-05, allocations: 2.312 kB / 237.4 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002241/0.002268, allocations: 0.7769 MB / 238.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.002485, allocations: 23.92 kB / 238.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002511, allocations: 0 / 238.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.002536, allocations: 7.922 kB / 238.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.002563, allocations: 0 / 238.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.152e-05/0.002645, allocations: 8 kB / 238.2 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.00275, allocations: 23.92 kB / 238.3 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.002825, allocations: 11.97 kB / 238.3 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.002869, allocations: 11.98 kB / 238.3 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.002932, allocations: 4 kB / 238.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.002955, allocations: 0 / 238.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.002966, allocations: 4 kB / 238.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.00298, allocations: 0 / 238.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.003007, allocations: 7.938 kB / 238.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.003093, allocations: 11.98 kB / 238.3 MB, free: 3.496 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83e-05/0.003112, allocations: 4 kB / 238.3 MB, free: 3.492 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003113, allocations: 0 / 238.3 MB, free: 3.492 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.003128, allocations: 0 / 238.3 MB, free: 3.492 MB / 234.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.0003329/0.003461, allocations: 242.5 kB / 238.5 MB, free: 3.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.003499, allocations: 11.89 kB / 238.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.003542, allocations: 4.938 kB / 238.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.003625, allocations: 117.7 kB / 238.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.003639, allocations: 384 / 238.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00365, allocations: 4.375 kB / 238.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.003774, allocations: 67.94 kB / 238.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.003783, allocations: 192 / 238.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.003791, allocations: 384 / 238.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.003797, allocations: 384 / 238.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.003833, allocations: 41.64 kB / 238.8 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004136, allocations: 152.3 kB / 238.9 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.004199, allocations: 52.22 kB / 239 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.004237, allocations: 42.62 kB / 239 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.004243, allocations: 0 / 239 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.004265, allocations: 30.56 kB / 239.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.004267, allocations: 0 / 239.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.004452, allocations: 142.7 kB / 239.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.004486, allocations: 59.34 kB / 239.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.088e-05/0.004517, allocations: 93.98 kB / 239.3 MB, free: 2.281 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.004529, allocations: 25.7 kB / 239.4 MB, free: 2.25 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.00456, allocations: 84.09 kB / 239.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.004579, allocations: 0 / 239.5 MB, free: 2.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.004617, allocations: 17.7 kB / 239.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.004713, allocations: 322.8 kB / 239.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.004742, allocations: 29.7 kB / 239.8 MB, free: 1.781 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.004767, allocations: 37.69 kB / 239.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.201e-05/0.004829, allocations: 72.25 kB / 239.9 MB, free: 1.652 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.004831, allocations: 0 / 239.9 MB, free: 1.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.536e-05/0.004927, allocations: 105.1 kB / 240 MB, free: 1.531 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.004966, allocations: 33.7 kB / 240.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.004972, allocations: 4 kB / 240.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.004982, allocations: 0 / 240.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.005024, allocations: 0 / 240.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.005028, allocations: 3.938 kB / 240.1 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.005078, allocations: 11.94 kB / 240.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.005087, allocations: 0 / 240.1 MB, free: 1.473 MB / 234.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.607e-05/0.005163, allocations: 135.5 kB / 240.2 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.005191, allocations: 8 kB / 240.2 MB, free: 1.316 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.005211, allocations: 11.14 kB / 240.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.005213, allocations: 0 / 240.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.005216, allocations: 3.938 kB / 240.2 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005218, allocations: 0 / 240.2 MB, free: 1.301 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005328, allocations: 65.89 kB / 240.3 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.00533, allocations: 0 / 240.3 MB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.005345, allocations: 4 kB / 240.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.00535, allocations: 0 / 240.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005352, allocations: 0 / 240.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.005359, allocations: 4 kB / 240.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00536, allocations: 0 / 240.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.005362, allocations: 4 kB / 240.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.005805, allocations: 1.009 MB / 241.3 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.00582, allocations: 7.984 kB / 241.3 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.005888, allocations: 3.938 kB / 241.3 MB, free: 108 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.005928, allocations: 7.984 kB / 241.3 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.005936, allocations: 4 kB / 241.3 MB, free: 96 kB / 234.7 MB Notification: Performance of sorting global known variables: time 7.815e-06/0.005943, allocations: 4.859 kB / 241.3 MB, free: 88 kB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005944, allocations: 0 / 241.3 MB, free: 88 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.006261, allocations: 4 kB / 241.4 MB, free: 84 kB / 234.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 0.0001253/0.006386, allocations: 84.5 kB / 241.4 MB, free: 15.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.006511, allocations: 131.6 kB / 241.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.006517, allocations: 4 kB / 241.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.006717, allocations: 89.97 kB / 241.7 MB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.006864, allocations: 7.938 kB / 241.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.007151, allocations: 241.1 kB / 241.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.007187, allocations: 51.36 kB / 241.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.007201, allocations: 3.906 kB / 242 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.007256, allocations: 63.48 kB / 242 MB, free: 15.3 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007257, allocations: 0 / 242 MB, free: 15.3 MB / 250.7 MB Notification: Performance of Templates: time 0.00257/0.009826, allocations: 0.5824 MB / 242.6 MB, free: 14.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5273942574858665]