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.0009339/0.0009339, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.0009628/0.0009628, allocations: 181 kB / 23.36 MB, free: 1.137 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 0.9597/0.9597, allocations: 158.6 MB / 185.2 MB, free: 2.754 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.04663/0.04663, 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 1.993e-06/1.993e-06, allocations: 0 / 271 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.275e-05, allocations: 2.312 kB / 271 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002337/0.00236, allocations: 0.776 MB / 271.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.002562, allocations: 23.92 kB / 271.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.0026, allocations: 0 / 271.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.06e-05/0.00264, allocations: 0 / 271.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.002696, allocations: 0 / 271.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.002861, allocations: 11.98 kB / 271.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002968, allocations: 27.92 kB / 271.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.003059, allocations: 0 / 271.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.003108, allocations: 8 kB / 271.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.003182, allocations: 11.97 kB / 271.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.0032, allocations: 0 / 271.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.00321, allocations: 4 kB / 271.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.003226, allocations: 0 / 271.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.003253, allocations: 4 kB / 271.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.815e-05/0.003331, allocations: 11.98 kB / 271.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003333, allocations: 3.938 kB / 271.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.003336, allocations: 7.938 kB / 271.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00334, allocations: 4 kB / 271.9 MB, free: 12.69 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.0002716/0.003612, allocations: 234.5 kB / 272.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.003654, allocations: 12.03 kB / 272.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.003685, allocations: 0.9375 kB / 272.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.637e-05/0.003762, allocations: 121.7 kB / 272.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.003773, allocations: 384 / 272.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.003784, allocations: 4.375 kB / 272.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.003891, allocations: 63.95 kB / 272.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.0039, allocations: 192 / 272.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.003908, allocations: 384 / 272.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.003914, allocations: 384 / 272.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.00395, allocations: 49.62 kB / 272.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.00426, allocations: 144.6 kB / 272.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.004337, allocations: 48.28 kB / 272.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.004381, allocations: 46.66 kB / 272.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.004387, allocations: 4 kB / 272.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.004414, allocations: 30.56 kB / 272.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.004415, allocations: 0 / 272.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.004594, allocations: 134.7 kB / 272.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.004637, allocations: 81.05 kB / 272.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.41e-05/0.004671, allocations: 93.98 kB / 272.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.004685, allocations: 29.7 kB / 272.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.00472, allocations: 88.08 kB / 273 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.00474, allocations: 3.953 kB / 273 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.004776, allocations: 17.7 kB / 273 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.004871, allocations: 310.8 kB / 273.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.004902, allocations: 37.7 kB / 273.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.004926, allocations: 33.69 kB / 273.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/0.004991, allocations: 72.25 kB / 273.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004993, allocations: 4.062 kB / 273.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.338e-05/0.005086, allocations: 101 kB / 273.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.005118, allocations: 33.7 kB / 273.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.005124, allocations: 3.984 kB / 273.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.005138, allocations: 0 / 273.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.005175, allocations: 7.938 kB / 273.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.005181, allocations: 7.938 kB / 273.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.005222, allocations: 3.984 kB / 273.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.005231, allocations: 0 / 273.6 MB, free: 10.65 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 7.873e-05/0.005309, allocations: 135.5 kB / 273.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.005335, allocations: 8.031 kB / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.005348, allocations: 3.156 kB / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.005356, allocations: 3.984 kB / 273.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.005359, allocations: 3.938 kB / 273.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005362, allocations: 0 / 273.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.005474, allocations: 65.91 kB / 273.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.005476, allocations: 0 / 273.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.00549, allocations: 4 kB / 273.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005492, allocations: 0 / 273.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005499, allocations: 3.984 kB / 273.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005501, allocations: 3.938 kB / 273.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.005502, allocations: 4 kB / 273.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.00565, allocations: 198.9 kB / 274.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.005655, allocations: 0 / 274.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.005666, allocations: 4 kB / 274.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.00573, allocations: 7.984 kB / 274.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.005765, allocations: 0 / 274.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.005771, allocations: 4 kB / 274.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.378e-06/0.00578, allocations: 8.844 kB / 274.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00578, allocations: 0 / 274.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.00598, allocations: 7.938 kB / 274.1 MB, free: 10.13 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.000104/0.006084, allocations: 80.45 kB / 274.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.006235, allocations: 135.6 kB / 274.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.006239, allocations: 0 / 274.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.222e-05/0.006311, allocations: 97.95 kB / 274.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.006453, allocations: 7.938 kB / 274.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.006689, allocations: 130.5 kB / 274.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.00673, allocations: 51.36 kB / 274.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.442e-05/0.006744, allocations: 0 / 274.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.006807, allocations: 63.48 kB / 274.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.006808, allocations: 0 / 274.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of Templates: time 0.002721/0.009529, allocations: 0.6684 MB / 275.3 MB, free: 8.793 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 -s gbode -gbm=radauIIA3 -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.5911368471570313]