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.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.00164/0.00164, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.002008/0.002008, allocations: 154.3 kB / 23 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.07978/0.07978, allocations: 12.54 MB / 272.3 MB, free: 4.543 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003354/0.003354, allocations: 67.89 kB / 405.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1607, allocations: 57.69 MB / 463.4 MB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00279/0.1635, allocations: 0.7093 MB / 464.1 MB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.1637, allocations: 31.89 kB / 464.1 MB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.1637, allocations: 0 / 464.1 MB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.1638, allocations: 0 / 464.1 MB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.1638, allocations: 0 / 464.1 MB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.164, allocations: 11.94 kB / 464.1 MB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1642, allocations: 19.98 kB / 464.2 MB, free: 3.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1643, allocations: 0 / 464.2 MB, free: 3.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1643, allocations: 11.98 kB / 464.2 MB, free: 3.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1644, allocations: 7.938 kB / 464.2 MB, free: 3.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1644, allocations: 4 kB / 464.2 MB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-06/0.1644, allocations: 0 / 464.2 MB, free: 3.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1644, allocations: 3.984 kB / 464.2 MB, free: 3.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1644, allocations: 4 kB / 464.2 MB, free: 3.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.612e-05/0.1645, allocations: 19.91 kB / 464.2 MB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1645, allocations: 0 / 464.2 MB, free: 3.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1645, allocations: 0 / 464.2 MB, free: 3.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1645, allocations: 3.938 kB / 464.2 MB, free: 3.148 MB / 430.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.000377/0.1649, allocations: 272.1 kB / 464.5 MB, free: 2.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.165, allocations: 12.03 kB / 464.5 MB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.165, allocations: 4.938 kB / 464.5 MB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.1651, allocations: 106.5 kB / 464.6 MB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1651, allocations: 384 / 464.6 MB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1651, allocations: 8.312 kB / 464.6 MB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1653, allocations: 67.95 kB / 464.7 MB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1653, allocations: 192 / 464.7 MB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1653, allocations: 7.922 kB / 464.7 MB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1653, allocations: 0 / 464.7 MB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/0.1653, allocations: 37.7 kB / 464.7 MB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.1658, allocations: 196.6 kB / 464.9 MB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.1659, allocations: 52.22 kB / 465 MB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.1659, allocations: 46.61 kB / 465 MB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1659, allocations: 3.938 kB / 465 MB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.166, allocations: 34.56 kB / 465 MB, free: 2.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.166, allocations: 0 / 465 MB, free: 2.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002522/0.1662, allocations: 134.8 kB / 465.2 MB, free: 2.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.1663, allocations: 81.11 kB / 465.3 MB, free: 1.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.1663, allocations: 93.84 kB / 465.3 MB, free: 1.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1664, allocations: 37.77 kB / 465.4 MB, free: 1.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1664, allocations: 84.09 kB / 465.5 MB, free: 1.688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1664, allocations: 3.953 kB / 465.5 MB, free: 1.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1665, allocations: 13.72 kB / 465.5 MB, free: 1.664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1666, allocations: 314.8 kB / 465.8 MB, free: 1.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.1666, allocations: 41.69 kB / 465.8 MB, free: 1.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.1667, allocations: 29.7 kB / 465.9 MB, free: 1.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.1668, allocations: 80.25 kB / 465.9 MB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1668, allocations: 0 / 465.9 MB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.1669, allocations: 113.1 kB / 466 MB, free: 1.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.1669, allocations: 37.73 kB / 466.1 MB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1669, allocations: 0 / 466.1 MB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1669, allocations: 3.984 kB / 466.1 MB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.167, allocations: 3.938 kB / 466.1 MB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.167, allocations: 0 / 466.1 MB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.167, allocations: 7.938 kB / 466.1 MB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.167, allocations: 0 / 466.1 MB, free: 0.9844 MB / 430.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 0.0001041/0.1671, allocations: 147.4 kB / 466.2 MB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1672, allocations: 7.938 kB / 466.3 MB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.1672, allocations: 3.156 kB / 466.3 MB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1672, allocations: 4 kB / 466.3 MB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1672, allocations: 0 / 466.3 MB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1672, allocations: 0 / 466.3 MB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.1673, allocations: 109.2 kB / 466.4 MB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1673, allocations: 0 / 466.4 MB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.1673, allocations: 0 / 466.4 MB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1674, allocations: 7.938 kB / 466.4 MB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.1674, allocations: 0 / 466.4 MB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1674, allocations: 0 / 466.4 MB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1674, allocations: 0 / 466.4 MB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1675, allocations: 210.9 kB / 466.6 MB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.1676, allocations: 0 / 466.6 MB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1676, allocations: 3.938 kB / 466.6 MB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.1676, allocations: 7.984 kB / 466.6 MB, free: 424 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1677, allocations: 0 / 466.6 MB, free: 424 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1677, allocations: 4 kB / 466.6 MB, free: 420 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.1677, allocations: 79.28 kB / 466.7 MB, free: 340 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1677, allocations: 0 / 466.7 MB, free: 340 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1679, allocations: 4 kB / 466.7 MB, free: 336 kB / 430.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 0.0001106/0.1681, allocations: 103.8 kB / 466.8 MB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1682, allocations: 130.8 kB / 466.9 MB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1682, allocations: 0 / 466.9 MB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.1683, allocations: 93.11 kB / 467 MB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1685, allocations: 11.86 kB / 467 MB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.1688, allocations: 126.5 kB / 467.1 MB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.1689, allocations: 55.36 kB / 467.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.027e-05/0.1689, allocations: 0 / 467.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1689, allocations: 16.5 kB / 467.2 MB, free: 15.7 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1689, allocations: 0 / 467.2 MB, free: 15.7 MB / 446.1 MB Notification: Performance of Templates: time 0.003171/0.1721, allocations: 0.6064 MB / 467.8 MB, free: 15.11 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/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.648671429022215]