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.001485/0.001485, allocations: 96.2 kB / 20.44 MB, free: 4.137 MB / 18.57 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.001639/0.001639, allocations: 169.3 kB / 23.81 MB, free: 0.7695 MB / 18.57 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.884/0.884, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.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.03868/0.03868, allocations: 10.66 MB / 248.7 MB, free: 4.445 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 1.553e-06/1.553e-06, allocations: 0 / 320.3 MB, free: 39.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.237e-05, allocations: 3.406 kB / 320.3 MB, free: 39.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001472/0.001504, allocations: 0.7344 MB / 321 MB, free: 38.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002006/0.001705, allocations: 19.97 kB / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.001743, allocations: 3.938 kB / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.001775, allocations: 0 / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.001838, allocations: 0 / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.001998, allocations: 15.97 kB / 321 MB, free: 38.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.002089, allocations: 16 kB / 321.1 MB, free: 38.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.002185, allocations: 3.375 kB / 321.1 MB, free: 38.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.002226, allocations: 15.98 kB / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.002288, allocations: 4 kB / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.002306, allocations: 0 / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.002316, allocations: 4 kB / 321.1 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002334, allocations: 3.938 kB / 321.1 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.002366, allocations: 11.98 kB / 321.1 MB, free: 38.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.346e-05/0.002449, allocations: 11.98 kB / 321.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002452, allocations: 0 / 321.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002453, allocations: 0 / 321.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.002458, allocations: 3.938 kB / 321.1 MB, free: 38.71 MB / 282.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.000237/0.002695, allocations: 366.1 kB / 321.5 MB, free: 38.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.002736, allocations: 16.03 kB / 321.5 MB, free: 38.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.002859, allocations: 7.344 kB / 321.5 MB, free: 38.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.969e-05/0.002899, allocations: 116.5 kB / 321.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002909, allocations: 384 / 321.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.00292, allocations: 5.688 kB / 321.6 MB, free: 38.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.003023, allocations: 67.95 kB / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.003031, allocations: 192 / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.003041, allocations: 384 / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.003047, allocations: 384 / 321.7 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.00307, allocations: 45.62 kB / 321.7 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.00336, allocations: 243.8 kB / 322 MB, free: 37.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.003406, allocations: 64.75 kB / 322 MB, free: 37.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.003437, allocations: 49.44 kB / 322.1 MB, free: 37.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.003444, allocations: 0 / 322.1 MB, free: 37.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.003461, allocations: 37.39 kB / 322.1 MB, free: 37.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.003462, allocations: 0 / 322.1 MB, free: 37.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.003633, allocations: 142.7 kB / 322.3 MB, free: 37.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.003659, allocations: 81.11 kB / 322.3 MB, free: 37.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.083e-05/0.00368, allocations: 146.2 kB / 322.5 MB, free: 37.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.003686, allocations: 25.7 kB / 322.5 MB, free: 37.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.003717, allocations: 131 kB / 322.6 MB, free: 36.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.003741, allocations: 8.281 kB / 322.6 MB, free: 36.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.003765, allocations: 23.38 kB / 322.7 MB, free: 36.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.003817, allocations: 496.1 kB / 323.1 MB, free: 36.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.003839, allocations: 29.7 kB / 323.2 MB, free: 36.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.003856, allocations: 41.69 kB / 323.2 MB, free: 36.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.0039, allocations: 71.09 kB / 323.3 MB, free: 36.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.003903, allocations: 1.5 kB / 323.3 MB, free: 36.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.298e-05/0.003976, allocations: 109 kB / 323.4 MB, free: 36.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.004002, allocations: 37.8 kB / 323.4 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.00401, allocations: 3.984 kB / 323.4 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.004028, allocations: 3.938 kB / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.004084, allocations: 4 kB / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.004091, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.004121, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.004128, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.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 4.64e-05/0.004175, allocations: 182.3 kB / 323.6 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.00419, allocations: 7.953 kB / 323.6 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.004212, allocations: 7.141 kB / 323.6 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.004215, allocations: 7.938 kB / 323.6 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.004218, allocations: 4 kB / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.004222, allocations: 0 / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.874e-05/0.00429, allocations: 109.5 kB / 323.8 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004291, allocations: 0 / 323.8 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.004296, allocations: 4 kB / 323.8 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.004298, allocations: 0 / 323.8 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.004305, allocations: 3.984 kB / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004306, allocations: 3.938 kB / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.004308, allocations: 11.94 kB / 323.8 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.004534, allocations: 1.467 MB / 325.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.004538, allocations: 0 / 325.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.004548, allocations: 0 / 325.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.004584, allocations: 7.984 kB / 325.3 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.004631, allocations: 4 kB / 325.3 MB, free: 34.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.004635, allocations: 7.938 kB / 325.3 MB, free: 34.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.004648, allocations: 119.2 kB / 325.4 MB, free: 34.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004648, allocations: 0 / 325.4 MB, free: 34.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000194/0.004842, allocations: 4 kB / 325.4 MB, free: 34 MB / 282.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 6.459e-05/0.004906, allocations: 99.23 kB / 325.5 MB, free: 33.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.005014, allocations: 146.4 kB / 325.6 MB, free: 33.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.005015, allocations: 0 / 325.6 MB, free: 33.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.005045, allocations: 104.7 kB / 325.7 MB, free: 33.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.005181, allocations: 7.984 kB / 325.7 MB, free: 33.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.005419, allocations: 286.3 kB / 326 MB, free: 33.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.21e-05/0.005441, allocations: 55.36 kB / 326.1 MB, free: 33.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.206e-05/0.005453, allocations: 0 / 326.1 MB, free: 33.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.005473, allocations: 8.5 kB / 326.1 MB, free: 33.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.005474, allocations: 128 / 326.1 MB, free: 33.18 MB / 282.7 MB Notification: Performance of Templates: time 0.002006/0.00748, allocations: 0.6278 MB / 326.7 MB, free: 32.6 MB / 282.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 -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: 3.02663552807644]