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.001065/0.001065, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001161/0.001161, allocations: 181 kB / 23.36 MB, free: 1.133 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.039/1.039, allocations: 158.6 MB / 185.2 MB, free: 2.758 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.04312/0.04312, allocations: 10.65 MB / 248.2 MB, free: 4.359 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.234e-06/2.234e-06, allocations: 3.938 kB / 270.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.939e-05, allocations: 2.312 kB / 270.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001762/0.001791, allocations: 0.729 MB / 271.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002026/0.001994, allocations: 19.92 kB / 271.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.002029, allocations: 4 kB / 271.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.00206, allocations: 3.938 kB / 271.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.002117, allocations: 0 / 271.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002265, allocations: 7.984 kB / 271.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.002381, allocations: 15.98 kB / 271.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.002468, allocations: 11.98 kB / 271.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.00251, allocations: 8 kB / 271.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.002579, allocations: 3.984 kB / 271.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.0026, allocations: 8 kB / 271.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002609, allocations: 3.938 kB / 271.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.002628, allocations: 0 / 271.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.002657, allocations: 4 kB / 271.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.002748, allocations: 15.98 kB / 271.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00275, allocations: 0 / 271.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002751, allocations: 0 / 271.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.002755, allocations: 0 / 271.8 MB, free: 12.79 MB / 266.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.0002649/0.00302, allocations: 242.5 kB / 272 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.003057, allocations: 11.97 kB / 272 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.003088, allocations: 4.938 kB / 272 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.971e-05/0.003147, allocations: 113.7 kB / 272.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.003158, allocations: 8.375 kB / 272.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.003168, allocations: 384 / 272.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.914e-05/0.003267, allocations: 63.95 kB / 272.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.003273, allocations: 192 / 272.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003282, allocations: 4.375 kB / 272.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003287, allocations: 384 / 272.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.003344, allocations: 37.62 kB / 272.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.003632, allocations: 152.6 kB / 272.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.00369, allocations: 44.28 kB / 272.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.003725, allocations: 54.66 kB / 272.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.003731, allocations: 0 / 272.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.003754, allocations: 42.48 kB / 272.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.003755, allocations: 0 / 272.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000153/0.003908, allocations: 126.7 kB / 272.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.003959, allocations: 89.05 kB / 272.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.226e-05/0.003991, allocations: 89.86 kB / 272.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004003, allocations: 25.7 kB / 272.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.004042, allocations: 92.06 kB / 272.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.004064, allocations: 8.078 kB / 272.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.00409, allocations: 17.72 kB / 273 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.004367, allocations: 310.8 kB / 273.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.00439, allocations: 29.7 kB / 273.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.004415, allocations: 41.69 kB / 273.3 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.004466, allocations: 68.25 kB / 273.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.004469, allocations: 0 / 273.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.165e-05/0.004551, allocations: 105 kB / 273.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.00458, allocations: 29.7 kB / 273.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.004586, allocations: 96 / 273.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.004602, allocations: 8 kB / 273.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.004642, allocations: 0 / 273.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.004647, allocations: 3.938 kB / 273.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.00468, allocations: 7.984 kB / 273.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.00469, allocations: 3.984 kB / 273.6 MB, free: 10.74 MB / 266.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 6.713e-05/0.004757, allocations: 135.5 kB / 273.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.004769, allocations: 0 / 273.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.004783, allocations: 7.156 kB / 273.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.004786, allocations: 3.984 kB / 273.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.00479, allocations: 7.938 kB / 273.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.004793, allocations: 4 kB / 273.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.00487, allocations: 65.89 kB / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004871, allocations: 0 / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.004876, allocations: 0 / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004877, allocations: 0 / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.004884, allocations: 8 kB / 273.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.004884, allocations: 0 / 273.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004885, allocations: 0 / 273.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.004991, allocations: 198.8 kB / 274 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.004997, allocations: 7.938 kB / 274 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.005005, allocations: 4.031 kB / 274 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.00504, allocations: 7.984 kB / 274 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.005084, allocations: 4 kB / 274 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005086, allocations: 0 / 274 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.708e-06/0.005096, allocations: 4.859 kB / 274 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005096, allocations: 0 / 274 MB, free: 10.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.005219, allocations: 11.94 kB / 274 MB, free: 10.22 MB / 266.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 0.0001105/0.00533, allocations: 76.42 kB / 274.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.005455, allocations: 135.6 kB / 274.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.005458, allocations: 4.062 kB / 274.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.005505, allocations: 93.95 kB / 274.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.005606, allocations: 7.938 kB / 274.3 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.005835, allocations: 130.5 kB / 274.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.00587, allocations: 51.36 kB / 274.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.19e-05/0.005882, allocations: 4 kB / 274.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.005931, allocations: 59.36 kB / 274.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.005932, allocations: 0 / 274.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of Templates: time 0.002495/0.008427, allocations: 0.6647 MB / 275.2 MB, free: 8.891 MB / 266.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: 3.059212485793978]