Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001015/0.001015, allocations: 96.2 kB / 20.44 MB, free: 4.133 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.0009934/0.0009934, allocations: 165 kB / 23.81 MB, free: 0.7656 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.9252/0.9252, allocations: 158.6 MB / 185.7 MB, free: 2.887 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.03888/0.03888, allocations: 10.66 MB / 248.7 MB, free: 4.449 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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 320.3 MB, free: 39.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.52e-05, allocations: 2.969 kB / 320.3 MB, free: 39.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001976/0.002001, allocations: 0.738 MB / 321 MB, free: 38.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.002204, allocations: 23.92 kB / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.002238, allocations: 0 / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.00227, allocations: 0 / 321 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.002318, allocations: 3.938 kB / 321 MB, free: 38.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.002467, allocations: 7.984 kB / 321 MB, free: 38.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.002579, allocations: 23.97 kB / 321.1 MB, free: 38.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.002671, allocations: 7.375 kB / 321.1 MB, free: 38.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.002707, allocations: 8 kB / 321.1 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.002772, allocations: 11.98 kB / 321.1 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.00279, allocations: 0 / 321.1 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.002798, allocations: 0 / 321.1 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.002814, allocations: 7.938 kB / 321.1 MB, free: 38.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.002843, allocations: 0 / 321.1 MB, free: 38.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.002926, allocations: 11.98 kB / 321.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.002929, allocations: 0 / 321.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002929, allocations: 0 / 321.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.002934, allocations: 0 / 321.1 MB, free: 38.72 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.0002936/0.003228, allocations: 374.1 kB / 321.5 MB, free: 38.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.003275, allocations: 8.031 kB / 321.5 MB, free: 38.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.003325, allocations: 7.344 kB / 321.5 MB, free: 38.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.186e-05/0.003377, allocations: 120.5 kB / 321.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.00339, allocations: 4.375 kB / 321.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.003402, allocations: 384 / 321.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.003535, allocations: 75.94 kB / 321.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.003543, allocations: 192 / 321.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.003554, allocations: 4.359 kB / 321.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.003562, allocations: 384 / 321.7 MB, free: 38.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.003598, allocations: 37.64 kB / 321.7 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.00394, allocations: 251.8 kB / 322 MB, free: 37.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.00401, allocations: 64.7 kB / 322 MB, free: 37.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.004051, allocations: 45.48 kB / 322.1 MB, free: 37.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.004058, allocations: 0 / 322.1 MB, free: 37.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.004079, allocations: 33.39 kB / 322.1 MB, free: 37.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.00408, allocations: 0 / 322.1 MB, free: 37.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002186/0.004299, allocations: 142.7 kB / 322.3 MB, free: 37.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.004329, allocations: 88.97 kB / 322.3 MB, free: 37.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.00436, allocations: 142.4 kB / 322.5 MB, free: 37.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.00437, allocations: 33.7 kB / 322.5 MB, free: 37.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.004394, allocations: 130.9 kB / 322.6 MB, free: 36.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.004417, allocations: 4.297 kB / 322.6 MB, free: 36.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.00445, allocations: 19.38 kB / 322.7 MB, free: 36.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.004506, allocations: 492.1 kB / 323.1 MB, free: 36.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.004538, allocations: 41.69 kB / 323.2 MB, free: 36.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.004559, allocations: 29.7 kB / 323.2 MB, free: 36.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.004621, allocations: 83.08 kB / 323.3 MB, free: 36.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.004624, allocations: 0 / 323.3 MB, free: 36.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.415e-05/0.004718, allocations: 109.1 kB / 323.4 MB, free: 36.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.004743, allocations: 33.7 kB / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.004749, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.004764, allocations: 3.938 kB / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.004812, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.004818, allocations: 0 / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.004857, allocations: 4 kB / 323.4 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.004866, allocations: 0 / 323.4 MB, free: 36.09 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 5.691e-05/0.004922, allocations: 190.3 kB / 323.6 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.004949, allocations: 7.953 kB / 323.6 MB, free: 35.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.004966, allocations: 7.188 kB / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004968, allocations: 3.938 kB / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.004971, allocations: 0 / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.004974, allocations: 0 / 323.6 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.005064, allocations: 112.6 kB / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005065, allocations: 0 / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.005076, allocations: 4 kB / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005078, allocations: 0 / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.005085, allocations: 0 / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005086, allocations: 0 / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005088, allocations: 3.938 kB / 323.8 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.005441, allocations: 1.471 MB / 325.2 MB, free: 34.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.005447, allocations: 8 kB / 325.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.005461, allocations: 4 kB / 325.2 MB, free: 34.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.005526, allocations: 4 kB / 325.3 MB, free: 34.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.005572, allocations: 7.875 kB / 325.3 MB, free: 34.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.005577, allocations: 0 / 325.3 MB, free: 34.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.005591, allocations: 123.2 kB / 325.4 MB, free: 34 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005591, allocations: 0 / 325.4 MB, free: 34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.005973, allocations: 8 kB / 325.4 MB, free: 34 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 6.625e-05/0.00604, allocations: 99.28 kB / 325.5 MB, free: 33.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.006182, allocations: 142.4 kB / 325.6 MB, free: 33.72 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006184, allocations: 0 / 325.6 MB, free: 33.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.00623, allocations: 100.8 kB / 325.7 MB, free: 33.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.006456, allocations: 0 / 325.7 MB, free: 33.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.006723, allocations: 294.2 kB / 326 MB, free: 33.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.00675, allocations: 55.34 kB / 326.1 MB, free: 33.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.218e-05/0.006762, allocations: 4 kB / 326.1 MB, free: 33.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.006782, allocations: 12.62 kB / 326.1 MB, free: 33.17 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006783, allocations: 4 kB / 326.1 MB, free: 33.17 MB / 282.7 MB Notification: Performance of Templates: time 0.002636/0.009418, allocations: 0.663 MB / 326.7 MB, free: 32.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.804576091002673]