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.001465/0.001465, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001539/0.001539, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.9164/0.9164, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.04828/0.04828, allocations: 12.74 MB / 273 MB, free: 0.7656 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 349.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.361e-05, allocations: 8.781 kB / 349.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001533/0.001566, allocations: 0.7183 MB / 349.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.001757, allocations: 27.83 kB / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.001793, allocations: 0 / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.001827, allocations: 0 / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.001877, allocations: 4 kB / 349.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002026, allocations: 11.92 kB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.002131, allocations: 16 kB / 349.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.002223, allocations: 11.92 kB / 349.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.002257, allocations: 8 kB / 350 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.002317, allocations: 7.984 kB / 350 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.002334, allocations: 0 / 350 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.002341, allocations: 4 kB / 350 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.002356, allocations: 0 / 350 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.002388, allocations: 8 kB / 350 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.471e-05/0.002472, allocations: 19.91 kB / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002475, allocations: 0 / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002476, allocations: 0 / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00248, allocations: 0 / 350 MB, free: 15.02 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.000304/0.002784, allocations: 374.1 kB / 350.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.002822, allocations: 8.031 kB / 350.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.002863, allocations: 4.938 kB / 350.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.081e-05/0.002924, allocations: 104.6 kB / 350.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.002935, allocations: 384 / 350.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.002946, allocations: 8.375 kB / 350.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.003058, allocations: 63.95 kB / 350.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003067, allocations: 4.125 kB / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.003076, allocations: 384 / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.003085, allocations: 4.359 kB / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.003115, allocations: 41.64 kB / 350.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.003465, allocations: 255.8 kB / 350.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/0.003521, allocations: 52.77 kB / 350.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.003557, allocations: 49.44 kB / 350.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-06/0.003563, allocations: 0 / 350.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.003588, allocations: 45.31 kB / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.003589, allocations: 0 / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.00019/0.003779, allocations: 138.7 kB / 351.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.003817, allocations: 81.11 kB / 351.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/0.003852, allocations: 142.2 kB / 351.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.003862, allocations: 29.83 kB / 351.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.003894, allocations: 130.9 kB / 351.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.003914, allocations: 12.3 kB / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.003939, allocations: 15.38 kB / 351.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00404, allocations: 496.1 kB / 352 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.004067, allocations: 37.69 kB / 352 MB, free: 12.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.004089, allocations: 37.64 kB / 352.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.004143, allocations: 71.09 kB / 352.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004145, allocations: 3.938 kB / 352.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.785e-05/0.004223, allocations: 113.2 kB / 352.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.004252, allocations: 33.69 kB / 352.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.004257, allocations: 0 / 352.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.00427, allocations: 3.938 kB / 352.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.004314, allocations: 8 kB / 352.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004319, allocations: 0 / 352.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.004349, allocations: 0 / 352.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.004356, allocations: 4 kB / 352.3 MB, free: 12.39 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 6.621e-05/0.004422, allocations: 182.3 kB / 352.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.004437, allocations: 11.89 kB / 352.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.004452, allocations: 11.19 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.004455, allocations: 7.938 kB / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004459, allocations: 0 / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004461, allocations: 0 / 352.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.004543, allocations: 104.6 kB / 352.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004544, allocations: 4 kB / 352.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-06/0.004552, allocations: 3.984 kB / 352.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004553, allocations: 0 / 352.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.00456, allocations: 0 / 352.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.004562, allocations: 4 kB / 352.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.004563, allocations: 3.938 kB / 352.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.004699, allocations: 255.3 kB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-06/0.004703, allocations: 0 / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.004714, allocations: 4 kB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.004755, allocations: 3.984 kB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.0048, allocations: 3.938 kB / 352.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.004805, allocations: 11.94 kB / 352.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.748e-05/0.004833, allocations: 119.2 kB / 353 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004833, allocations: 0 / 353 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.004969, allocations: 4 kB / 353 MB, free: 11.59 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 7.544e-05/0.005044, allocations: 99.28 kB / 353.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.005168, allocations: 142.5 kB / 353.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005169, allocations: 0 / 353.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.005213, allocations: 96.8 kB / 353.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.005349, allocations: 4 kB / 353.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.00557, allocations: 140 kB / 353.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.005612, allocations: 63.28 kB / 353.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.145e-05/0.005624, allocations: 0 / 353.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.005645, allocations: 8.5 kB / 353.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.005646, allocations: 4.125 kB / 353.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of Templates: time 0.002073/0.007719, allocations: 0.6258 MB / 354.2 MB, free: 10.32 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.6911997688002884]