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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.1294/0.1294, allocations: 16.95 MB / 319.6 MB, free: 9.281 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002182/0.002182, allocations: 75.89 kB / 448.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1201, allocations: 56.52 MB / 0.4936 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002051/0.1222, allocations: 0.6946 MB / 0.4943 GB, free: 172 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.1224, allocations: 31.89 kB / 0.4943 GB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.1224, allocations: 3.938 kB / 0.4943 GB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.1224, allocations: 7.938 kB / 0.4943 GB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.1225, allocations: 0 / 0.4943 GB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.1226, allocations: 11.98 kB / 0.4943 GB, free: 116 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.709e-05/0.1227, allocations: 8 kB / 0.4943 GB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.1228, allocations: 15.97 kB / 0.4944 GB, free: 92 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.1229, allocations: 4 kB / 0.4944 GB, free: 88 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1229, allocations: 7.984 kB / 0.4944 GB, free: 80 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1229, allocations: 4 kB / 0.4944 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.1229, allocations: 0 / 0.4944 GB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.123, allocations: 0 / 0.4944 GB, free: 76 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.123, allocations: 11.94 kB / 0.4944 GB, free: 64 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.689e-05/0.1231, allocations: 15.92 kB / 0.4944 GB, free: 48 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1231, allocations: 0 / 0.4944 GB, free: 48 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1231, allocations: 0 / 0.4944 GB, free: 48 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1231, allocations: 0 / 0.4944 GB, free: 48 kB / 366.1 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.0004216/0.1235, allocations: 357.1 kB / 0.4947 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1236, allocations: 8.031 kB / 0.4948 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1236, allocations: 0.9375 kB / 0.4948 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1237, allocations: 168.4 kB / 0.4949 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1237, allocations: 4.375 kB / 0.4949 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1238, allocations: 4.375 kB / 0.4949 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1239, allocations: 42.25 kB / 0.495 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1239, allocations: 192 / 0.495 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1239, allocations: 7.938 kB / 0.495 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.1239, allocations: 0 / 0.495 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.1239, allocations: 11.94 kB / 0.495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.1244, allocations: 248.9 kB / 0.4952 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.1245, allocations: 30.52 kB / 0.4952 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.1246, allocations: 16.91 kB / 0.4953 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.1246, allocations: 0 / 0.4953 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1246, allocations: 34.56 kB / 0.4953 GB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1246, allocations: 0 / 0.4953 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.1248, allocations: 83.33 kB / 0.4954 GB, free: 14.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1249, allocations: 81.23 kB / 0.4955 GB, free: 14.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.1249, allocations: 97.86 kB / 0.4955 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.125, allocations: 25.7 kB / 0.4956 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.125, allocations: 84.12 kB / 0.4957 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1251, allocations: 7.938 kB / 0.4957 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1251, allocations: 13.72 kB / 0.4957 GB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1252, allocations: 314.8 kB / 0.496 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.1253, allocations: 8 kB / 0.496 GB, free: 14.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.1253, allocations: 15.98 kB / 0.496 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.1254, allocations: 76.33 kB / 0.4961 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1254, allocations: 0 / 0.4961 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.1255, allocations: 87.27 kB / 0.4962 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.1255, allocations: 29.7 kB / 0.4962 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1255, allocations: 4 kB / 0.4962 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1256, allocations: 0 / 0.4962 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.1256, allocations: 0 / 0.4962 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1256, allocations: 0 / 0.4962 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1256, allocations: 12.02 kB / 0.4962 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1257, allocations: 0 / 0.4962 GB, free: 13.94 MB / 382.1 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 0.0001106/0.1258, allocations: 135.5 kB / 0.4963 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1258, allocations: 11.88 kB / 0.4963 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.1258, allocations: 3.125 kB / 0.4963 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1258, allocations: 4 kB / 0.4963 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1258, allocations: 0 / 0.4963 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1258, allocations: 0 / 0.4963 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.126, allocations: 157.6 kB / 0.4965 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.126, allocations: 0 / 0.4965 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.126, allocations: 4 kB / 0.4965 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.126, allocations: 3.938 kB / 0.4965 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.126, allocations: 0 / 0.4965 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.126, allocations: 4 kB / 0.4965 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1261, allocations: 0 / 0.4965 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1262, allocations: 185.1 kB / 0.4967 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.1263, allocations: 81.09 kB / 0.4968 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1263, allocations: 8.031 kB / 0.4968 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1264, allocations: 3.984 kB / 0.4968 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.1264, allocations: 8 kB / 0.4968 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1264, allocations: 0 / 0.4968 GB, free: 13.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.1265, allocations: 75.28 kB / 0.4968 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1265, allocations: 0 / 0.4968 GB, free: 13.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1267, allocations: 4 kB / 0.4969 GB, free: 13.16 MB / 382.1 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.0001266/0.1268, allocations: 99.25 kB / 0.4969 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.127, allocations: 83.33 kB / 0.497 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.127, allocations: 0 / 0.497 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.127, allocations: 67.39 kB / 0.4971 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1272, allocations: 7.938 kB / 0.4971 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.1275, allocations: 100.9 kB / 0.4972 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1278, allocations: 0.6729 MB / 0.4979 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.1278, allocations: 0 / 0.4979 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.1279, allocations: 7.438 kB / 0.4979 GB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1279, allocations: 4.125 kB / 0.4979 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.002967/0.1308, allocations: 0.5694 MB / 0.4984 GB, free: 11.48 MB / 382.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92114123608917]