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.001618/0.001618, allocations: 100.9 kB / 16.45 MB, free: 6.449 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.001815/0.001815, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.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.08355/0.08355, allocations: 16.94 MB / 325.8 MB, free: 3.773 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.002087/0.002087, allocations: 61.62 kB / 457.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1186, allocations: 57.71 MB / 0.5031 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002072/0.1207, allocations: 0.7023 MB / 0.5038 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.1209, allocations: 23.95 kB / 0.5038 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.1209, allocations: 4 kB / 0.5038 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.1209, allocations: 3.938 kB / 0.5038 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.121, allocations: 0 / 0.5038 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1211, allocations: 0 / 0.5038 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1212, allocations: 19.98 kB / 0.5038 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.1213, allocations: 4 kB / 0.5038 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.1214, allocations: 19.97 kB / 0.5038 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.1214, allocations: 0 / 0.5038 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1214, allocations: 4 kB / 0.5038 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-06/0.1214, allocations: 0 / 0.5038 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.1215, allocations: 7.938 kB / 0.5038 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1215, allocations: 7.938 kB / 0.5038 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.804e-05/0.1216, allocations: 15.97 kB / 0.5039 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1216, allocations: 0 / 0.5039 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1216, allocations: 0 / 0.5039 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1216, allocations: 0 / 0.5039 GB, free: 7.637 MB / 382.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.0004342/0.122, allocations: 353.2 kB / 0.5042 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1221, allocations: 8.031 kB / 0.5042 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1221, allocations: 0.9375 kB / 0.5042 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1222, allocations: 160.4 kB / 0.5044 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1222, allocations: 8.312 kB / 0.5044 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1223, allocations: 384 / 0.5044 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1224, allocations: 46.23 kB / 0.5044 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1224, allocations: 192 / 0.5044 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1224, allocations: 11.92 kB / 0.5044 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1224, allocations: 4 kB / 0.5044 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.1225, allocations: 11.94 kB / 0.5044 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1229, allocations: 245 kB / 0.5047 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.123, allocations: 30.52 kB / 0.5047 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.1231, allocations: 8.922 kB / 0.5047 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.1231, allocations: 0 / 0.5047 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1231, allocations: 46.56 kB / 0.5048 GB, free: 6.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1231, allocations: 0 / 0.5048 GB, free: 6.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.1233, allocations: 87.31 kB / 0.5048 GB, free: 6.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.1234, allocations: 77.11 kB / 0.5049 GB, free: 6.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.1235, allocations: 89.86 kB / 0.505 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1235, allocations: 29.7 kB / 0.505 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.1235, allocations: 84.08 kB / 0.5051 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1236, allocations: 7.953 kB / 0.5051 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1236, allocations: 17.84 kB / 0.5051 GB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1238, allocations: 310.8 kB / 0.5054 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.1238, allocations: 11.98 kB / 0.5054 GB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.1238, allocations: 8 kB / 0.5054 GB, free: 5.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.1239, allocations: 80.2 kB / 0.5055 GB, free: 5.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1239, allocations: 3.984 kB / 0.5055 GB, free: 5.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/0.124, allocations: 75.34 kB / 0.5056 GB, free: 5.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.124, allocations: 37.69 kB / 0.5056 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1241, allocations: 4.094 kB / 0.5056 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1241, allocations: 0 / 0.5056 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.1241, allocations: 4 kB / 0.5056 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1241, allocations: 0 / 0.5056 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1242, allocations: 7.953 kB / 0.5057 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1242, allocations: 0 / 0.5057 GB, free: 5.535 MB / 382.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.0001111/0.1243, allocations: 135.5 kB / 0.5058 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1243, allocations: 7.922 kB / 0.5058 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.1243, allocations: 7.125 kB / 0.5058 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1243, allocations: 3.938 kB / 0.5058 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1243, allocations: 4 kB / 0.5058 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1243, allocations: 0 / 0.5058 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.1245, allocations: 157.6 kB / 0.506 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1245, allocations: 0 / 0.506 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.1245, allocations: 4 kB / 0.506 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1245, allocations: 3.938 kB / 0.506 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1245, allocations: 0 / 0.506 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1245, allocations: 3.984 kB / 0.506 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1245, allocations: 0 / 0.506 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1247, allocations: 185.2 kB / 0.5061 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.1248, allocations: 77.11 kB / 0.5062 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1248, allocations: 0 / 0.5062 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1248, allocations: 4 kB / 0.5062 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1249, allocations: 3.984 kB / 0.5062 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1249, allocations: 4 kB / 0.5062 GB, free: 4.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.1249, allocations: 75.28 kB / 0.5063 GB, free: 4.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1249, allocations: 4.031 kB / 0.5063 GB, free: 4.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1251, allocations: 8 kB / 0.5063 GB, free: 4.754 MB / 382.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.0001322/0.1253, allocations: 99.25 kB / 0.5064 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1254, allocations: 75.33 kB / 0.5065 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1254, allocations: 0 / 0.5065 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.1255, allocations: 63.41 kB / 0.5065 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1257, allocations: 19.86 kB / 0.5066 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.126, allocations: 97.05 kB / 0.5066 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1263, allocations: 0.6768 MB / 0.5073 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.788e-06/0.1263, allocations: 0 / 0.5073 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.1263, allocations: 7.438 kB / 0.5073 GB, free: 3.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1263, allocations: 0 / 0.5073 GB, free: 3.633 MB / 382.1 MB Notification: Performance of Templates: time 0.002942/0.1292, allocations: 0.5725 MB / 0.5079 GB, free: 3.074 MB / 382.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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] 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.827061309944838]