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.0009538/0.0009538, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009621/0.0009621, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.7882/0.7882, allocations: 158.6 MB / 186 MB, free: 2.781 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.04586/0.04586, allocations: 10.65 MB / 249 MB, free: 4.285 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 1.243e-06/1.243e-06, allocations: 3.938 kB / 320.7 MB, free: 39.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.738e-05, allocations: 2.312 kB / 320.7 MB, free: 39.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001212/0.00123, allocations: 0.7331 MB / 321.5 MB, free: 38.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.001382, allocations: 19.92 kB / 321.5 MB, free: 38.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.001414, allocations: 0 / 321.5 MB, free: 38.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.001442, allocations: 7.922 kB / 321.5 MB, free: 38.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.001491, allocations: 4 kB / 321.5 MB, free: 38.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.001618, allocations: 11.98 kB / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.0017, allocations: 19.98 kB / 321.5 MB, free: 38.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.00178, allocations: 3.375 kB / 321.5 MB, free: 38.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.001812, allocations: 11.98 kB / 321.6 MB, free: 38.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.00187, allocations: 7.938 kB / 321.6 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.001885, allocations: 0 / 321.6 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.001892, allocations: 4 kB / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.001907, allocations: 0 / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.001929, allocations: 8 kB / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.626e-05/0.001995, allocations: 15.98 kB / 321.6 MB, free: 38.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.001997, allocations: 0 / 321.6 MB, free: 38.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.001998, allocations: 0 / 321.6 MB, free: 38.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.002001, allocations: 0 / 321.6 MB, free: 38.41 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.0002042/0.002205, allocations: 366.1 kB / 321.9 MB, free: 38.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.002236, allocations: 12.03 kB / 322 MB, free: 38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.002265, allocations: 11.34 kB / 322 MB, free: 37.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.306e-05/0.002308, allocations: 116.5 kB / 322.1 MB, free: 37.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002319, allocations: 4.359 kB / 322.1 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.002326, allocations: 4.375 kB / 322.1 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.39e-05/0.0024, allocations: 63.95 kB / 322.2 MB, free: 37.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.002411, allocations: 4.188 kB / 322.2 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.002419, allocations: 4.375 kB / 322.2 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.002425, allocations: 384 / 322.2 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.722e-05/0.002442, allocations: 45.56 kB / 322.2 MB, free: 37.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.00266, allocations: 224.4 kB / 322.4 MB, free: 37.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.056e-05/0.002701, allocations: 60.75 kB / 322.5 MB, free: 37.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.002721, allocations: 41.44 kB / 322.5 MB, free: 37.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.002727, allocations: 4 kB / 322.5 MB, free: 37.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.002741, allocations: 33.39 kB / 322.6 MB, free: 37.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.002742, allocations: 0 / 322.6 MB, free: 37.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.002871, allocations: 150.7 kB / 322.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.002893, allocations: 77.11 kB / 322.8 MB, free: 37.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.782e-05/0.002911, allocations: 146.2 kB / 322.9 MB, free: 36.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-06/0.002916, allocations: 25.7 kB / 323 MB, free: 36.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.549e-05/0.002931, allocations: 126.9 kB / 323.1 MB, free: 36.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.002947, allocations: 8.281 kB / 323.1 MB, free: 36.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.002969, allocations: 19.38 kB / 323.1 MB, free: 36.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.003013, allocations: 492.1 kB / 323.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.003026, allocations: 41.69 kB / 323.6 MB, free: 36.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.003037, allocations: 33.83 kB / 323.7 MB, free: 36.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.00307, allocations: 75.08 kB / 323.7 MB, free: 36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003071, allocations: 0 / 323.7 MB, free: 36 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.079e-05/0.003122, allocations: 105.9 kB / 323.8 MB, free: 35.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.003139, allocations: 33.7 kB / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.003143, allocations: 0 / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.003152, allocations: 0 / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.661e-05/0.003179, allocations: 3.938 kB / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.003181, allocations: 4 kB / 323.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.003205, allocations: 0 / 323.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00321, allocations: 4.094 kB / 323.9 MB, free: 35.83 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 3.93e-05/0.00325, allocations: 186.3 kB / 324.1 MB, free: 35.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.003265, allocations: 7.953 kB / 324.1 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.331e-05/0.003279, allocations: 11.16 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.00328, allocations: 0 / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.003282, allocations: 3.938 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.003284, allocations: 0 / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.8e-05/0.003352, allocations: 97.25 kB / 324.2 MB, free: 35.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.003353, allocations: 0 / 324.2 MB, free: 35.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.003358, allocations: 4 kB / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.003359, allocations: 7.938 kB / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.003363, allocations: 0 / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003364, allocations: 0 / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.003364, allocations: 0 / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.781e-05/0.003432, allocations: 259.2 kB / 324.4 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.003436, allocations: 4 kB / 324.4 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.003443, allocations: 0 / 324.4 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.003474, allocations: 3.984 kB / 324.4 MB, free: 35.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.003505, allocations: 11.98 kB / 324.5 MB, free: 35.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.003507, allocations: 0 / 324.5 MB, free: 35.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.342e-05/0.003521, allocations: 123.1 kB / 324.6 MB, free: 35.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003521, allocations: 4.031 kB / 324.6 MB, free: 35.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.003655, allocations: 8 kB / 324.6 MB, free: 35.04 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 5.529e-05/0.003711, allocations: 99.23 kB / 324.7 MB, free: 34.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.991e-05/0.003801, allocations: 138.5 kB / 324.8 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-06/0.003802, allocations: 0 / 324.8 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.003833, allocations: 96.73 kB / 324.9 MB, free: 34.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.003968, allocations: 7.984 kB / 324.9 MB, free: 34.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001418/0.00411, allocations: 128.4 kB / 325.1 MB, free: 34.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.974e-05/0.00413, allocations: 55.36 kB / 325.1 MB, free: 34.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.025e-05/0.00414, allocations: 0 / 325.1 MB, free: 34.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.004175, allocations: 78.2 kB / 325.2 MB, free: 34.33 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004176, allocations: 0 / 325.2 MB, free: 34.33 MB / 282.7 MB Notification: Performance of Templates: time 0.001845/0.00602, allocations: 0.6897 MB / 325.9 MB, free: 33.68 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=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.689738722052425]