Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001653/0.001653, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001918/0.001918, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.494/1.494, allocations: 158.6 MB / 184.6 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.0706/0.0706, allocations: 10.66 MB / 247.5 MB, free: 4.531 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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 318.7 MB, free: 39.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.536e-05, allocations: 3.672 kB / 318.7 MB, free: 39.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002593/0.002628, allocations: 0.7161 MB / 319.4 MB, free: 39.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.002841, allocations: 31.84 kB / 319.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.002881, allocations: 0 / 319.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.002912, allocations: 0 / 319.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.002965, allocations: 0 / 319.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.003128, allocations: 11.98 kB / 319.5 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003229, allocations: 8 kB / 319.5 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003332, allocations: 15.97 kB / 319.5 MB, free: 39.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.003374, allocations: 12 kB / 319.5 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.003439, allocations: 3.984 kB / 319.5 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003458, allocations: 7.938 kB / 319.5 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.003468, allocations: 0 / 319.5 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003487, allocations: 7.938 kB / 319.5 MB, free: 39.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.003527, allocations: 4 kB / 319.5 MB, free: 39.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.00362, allocations: 15.97 kB / 319.5 MB, free: 39.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.003622, allocations: 0 / 319.5 MB, free: 39.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003623, allocations: 0 / 319.5 MB, free: 39.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003627, allocations: 4 kB / 319.6 MB, free: 39.14 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.0002672/0.003895, allocations: 268.2 kB / 319.8 MB, free: 38.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.003936, allocations: 12.03 kB / 319.8 MB, free: 38.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.00399, allocations: 0.9375 kB / 319.8 MB, free: 38.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.41e-05/0.004044, allocations: 105.8 kB / 319.9 MB, free: 38.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.004059, allocations: 384 / 319.9 MB, free: 38.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.004073, allocations: 4.375 kB / 319.9 MB, free: 38.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.004226, allocations: 71.95 kB / 320 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004238, allocations: 192 / 320 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.004252, allocations: 384 / 320 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004257, allocations: 384 / 320 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.004319, allocations: 49.56 kB / 320.1 MB, free: 38.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.004733, allocations: 193.9 kB / 320.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.004811, allocations: 52.28 kB / 320.3 MB, free: 38.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.004869, allocations: 42.61 kB / 320.3 MB, free: 38.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.004882, allocations: 0 / 320.3 MB, free: 38.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.004905, allocations: 38.5 kB / 320.4 MB, free: 38.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.004906, allocations: 0 / 320.4 MB, free: 38.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002925/0.005199, allocations: 144.3 kB / 320.5 MB, free: 38.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.005229, allocations: 77.11 kB / 320.6 MB, free: 37.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.715e-05/0.005246, allocations: 89.98 kB / 320.7 MB, free: 37.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.005258, allocations: 37.64 kB / 320.7 MB, free: 37.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.005277, allocations: 84.08 kB / 320.8 MB, free: 37.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.0053, allocations: 11.94 kB / 320.8 MB, free: 37.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.005345, allocations: 13.72 kB / 320.8 MB, free: 37.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.00539, allocations: 310.8 kB / 321.1 MB, free: 37.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.005435, allocations: 37.7 kB / 321.2 MB, free: 37.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.005473, allocations: 37.69 kB / 321.2 MB, free: 37.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.005562, allocations: 76.2 kB / 321.3 MB, free: 37.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005564, allocations: 0 / 321.3 MB, free: 37.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000146/0.00571, allocations: 113.2 kB / 321.4 MB, free: 37.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.00574, allocations: 33.69 kB / 321.4 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005745, allocations: 0 / 321.4 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.005767, allocations: 3.938 kB / 321.4 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.005812, allocations: 4 kB / 321.4 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.005819, allocations: 1.562 kB / 321.4 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.005899, allocations: 0 / 321.4 MB, free: 36.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.005911, allocations: 4 kB / 321.4 MB, free: 36.99 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 7.103e-05/0.005982, allocations: 143.5 kB / 321.6 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.006027, allocations: 3.953 kB / 321.6 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.006046, allocations: 15.14 kB / 321.6 MB, free: 36.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.00605, allocations: 7.875 kB / 321.6 MB, free: 36.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.006053, allocations: 0 / 321.6 MB, free: 36.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006056, allocations: 0 / 321.6 MB, free: 36.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.006192, allocations: 105.3 kB / 321.7 MB, free: 36.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006194, allocations: 0 / 321.7 MB, free: 36.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.006212, allocations: 3.984 kB / 321.7 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.006215, allocations: 0 / 321.7 MB, free: 36.67 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.006228, allocations: 8.859 kB / 321.7 MB, free: 36.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00623, allocations: 0 / 321.7 MB, free: 36.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.006233, allocations: 3.938 kB / 321.7 MB, free: 36.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.006395, allocations: 203 kB / 321.9 MB, free: 36.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006401, allocations: 0 / 321.9 MB, free: 36.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.006421, allocations: 8 kB / 321.9 MB, free: 36.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.006549, allocations: 3.984 kB / 321.9 MB, free: 36.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.006604, allocations: 11.94 kB / 321.9 MB, free: 36.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.006611, allocations: 0 / 321.9 MB, free: 36.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.264e-05/0.006624, allocations: 79.22 kB / 322 MB, free: 36.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006624, allocations: 3.938 kB / 322 MB, free: 36.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.007044, allocations: 4 kB / 322 MB, free: 36.32 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 9.314e-05/0.007138, allocations: 99.28 kB / 322.1 MB, free: 36.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.007296, allocations: 138.8 kB / 322.3 MB, free: 36.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007299, allocations: 0 / 322.3 MB, free: 36.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.007368, allocations: 89.11 kB / 322.3 MB, free: 35.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.007733, allocations: 4 kB / 322.3 MB, free: 35.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.008051, allocations: 135 kB / 322.5 MB, free: 35.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.889e-05/0.0081, allocations: 59.34 kB / 322.5 MB, free: 35.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.008115, allocations: 0 / 322.5 MB, free: 35.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.008142, allocations: 16.56 kB / 322.6 MB, free: 35.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008142, allocations: 4 kB / 322.6 MB, free: 35.69 MB / 282.7 MB Notification: Performance of Templates: time 0.00447/0.01261, allocations: 0.6208 MB / 323.2 MB, free: 35.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_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.542424131068401]