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.001206/0.001206, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001303/0.001303, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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.9975/0.9975, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.05148/0.05148, allocations: 12.99 MB / 274 MB, free: 292 kB / 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 2.314e-06/2.314e-06, allocations: 0 / 350.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.521e-05, allocations: 2.312 kB / 350.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001559/0.001584, allocations: 0.7173 MB / 351.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.001734, allocations: 31.84 kB / 351.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.001759, allocations: 0 / 351.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.001781, allocations: 0 / 351.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.001817, allocations: 0 / 351.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.001936, allocations: 11.98 kB / 351.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.002025, allocations: 20 kB / 351.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.002105, allocations: 3.984 kB / 351.6 MB, free: 14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.002141, allocations: 11.98 kB / 351.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.0022, allocations: 11.92 kB / 351.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.002213, allocations: 0 / 351.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-06/0.002221, allocations: 4 kB / 351.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.002235, allocations: 3.938 kB / 351.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.00226, allocations: 8 kB / 351.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.002337, allocations: 11.92 kB / 351.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002339, allocations: 0 / 351.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.00234, allocations: 4 kB / 351.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.002344, allocations: 4 kB / 351.6 MB, free: 13.95 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.000283/0.002627, allocations: 366.1 kB / 352 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.002662, allocations: 12.03 kB / 352 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.002689, allocations: 0.9375 kB / 352 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.99e-05/0.002749, allocations: 108.6 kB / 352.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.002759, allocations: 384 / 352.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.002767, allocations: 4.375 kB / 352.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.002854, allocations: 71.94 kB / 352.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002861, allocations: 192 / 352.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.002869, allocations: 4.359 kB / 352.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.002874, allocations: 384 / 352.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.002899, allocations: 41.58 kB / 352.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.003164, allocations: 244.3 kB / 352.5 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.003215, allocations: 52.77 kB / 352.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.003243, allocations: 45.44 kB / 352.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.003248, allocations: 0 / 352.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.003275, allocations: 41.39 kB / 352.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.003276, allocations: 3.938 kB / 352.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.003432, allocations: 134.7 kB / 352.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.003465, allocations: 77.23 kB / 352.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.792e-05/0.003503, allocations: 146.2 kB / 353 MB, free: 12.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.003513, allocations: 25.7 kB / 353 MB, free: 12.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.003545, allocations: 130.9 kB / 353.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.003563, allocations: 8.281 kB / 353.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.00359, allocations: 19.38 kB / 353.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.003704, allocations: 0.4884 MB / 353.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.003734, allocations: 29.7 kB / 353.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.003752, allocations: 37.69 kB / 353.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.003799, allocations: 75.03 kB / 353.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003801, allocations: 4.062 kB / 353.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.081e-05/0.003892, allocations: 101.1 kB / 353.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.003919, allocations: 37.69 kB / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.003924, allocations: 0 / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.003933, allocations: 0 / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.003964, allocations: 3.938 kB / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.003966, allocations: 0 / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.004, allocations: 4 kB / 353.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.004007, allocations: 4 kB / 353.9 MB, free: 11.37 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.07e-05/0.004078, allocations: 186.3 kB / 354.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.004096, allocations: 11.98 kB / 354.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.004111, allocations: 7.141 kB / 354.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004112, allocations: 0 / 354.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.004115, allocations: 3.938 kB / 354.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004118, allocations: 3.938 kB / 354.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.066e-05/0.004208, allocations: 93.27 kB / 354.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004209, allocations: 0 / 354.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/0.004219, allocations: 0 / 354.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.004221, allocations: 4 kB / 354.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.004229, allocations: 7.922 kB / 354.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004229, allocations: 0 / 354.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00423, allocations: 4 kB / 354.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.004393, allocations: 251.3 kB / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-06/0.004398, allocations: 0 / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.004407, allocations: 4 kB / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.004448, allocations: 0 / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.004486, allocations: 11.98 kB / 354.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.004491, allocations: 0 / 354.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.00452, allocations: 123.1 kB / 354.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00452, allocations: 0 / 354.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.004665, allocations: 4 kB / 354.6 MB, free: 10.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 8.735e-05/0.004752, allocations: 107.2 kB / 354.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.004869, allocations: 134.5 kB / 354.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00487, allocations: 0 / 354.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.004917, allocations: 96.78 kB / 355 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.005053, allocations: 4 kB / 355 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.005305, allocations: 140.1 kB / 355.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.005336, allocations: 55.34 kB / 355.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.828e-06/0.005346, allocations: 0 / 355.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.005393, allocations: 78.33 kB / 355.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.005394, allocations: 0 / 355.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of Templates: time 0.002062/0.007456, allocations: 0.6924 MB / 355.9 MB, free: 9.199 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.790081636980176]