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.001774/0.001774, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002183/0.002183, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.742 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.09006/0.09006, allocations: 16.92 MB / 329.4 MB, free: 2.449 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.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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.89 kB / 462.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1259, allocations: 57.74 MB / 0.5083 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00234/0.1283, allocations: 0.7113 MB / 0.509 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000195/0.1285, allocations: 19.97 kB / 0.509 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.1285, allocations: 0 / 0.509 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.1285, allocations: 7.938 kB / 0.509 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.1286, allocations: 0 / 0.509 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1288, allocations: 11.98 kB / 0.509 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1289, allocations: 12 kB / 0.509 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.129, allocations: 7.984 kB / 0.509 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.129, allocations: 4 kB / 0.509 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.1291, allocations: 11.92 kB / 0.509 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1291, allocations: 0 / 0.509 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.1291, allocations: 4 kB / 0.509 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1291, allocations: 4 kB / 0.509 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.1291, allocations: 11.98 kB / 0.5091 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.549e-05/0.1292, allocations: 7.984 kB / 0.5091 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1292, allocations: 7.938 kB / 0.5091 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1292, allocations: 0 / 0.5091 GB, free: 4.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1292, allocations: 0 / 0.5091 GB, free: 4.777 MB / 382.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.000394/0.1296, allocations: 268.1 kB / 0.5093 GB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1297, allocations: 12.03 kB / 0.5093 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.1297, allocations: 4.875 kB / 0.5093 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1298, allocations: 102.5 kB / 0.5094 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1298, allocations: 4.375 kB / 0.5094 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1298, allocations: 384 / 0.5094 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.13, allocations: 79.94 kB / 0.5095 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.13, allocations: 192 / 0.5095 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.13, allocations: 7.938 kB / 0.5095 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.13, allocations: 0 / 0.5095 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.1301, allocations: 33.7 kB / 0.5096 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1306, allocations: 200.5 kB / 0.5098 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1307, allocations: 52.31 kB / 0.5098 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.1307, allocations: 42.62 kB / 0.5098 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.1307, allocations: 3.938 kB / 0.5099 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1308, allocations: 34.56 kB / 0.5099 GB, free: 3.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1308, allocations: 4 kB / 0.5099 GB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000289/0.131, allocations: 142.7 kB / 0.51 GB, free: 3.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1311, allocations: 81.11 kB / 0.5101 GB, free: 3.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.1312, allocations: 93.8 kB / 0.5102 GB, free: 3.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1312, allocations: 29.7 kB / 0.5102 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1312, allocations: 80.14 kB / 0.5103 GB, free: 3.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1313, allocations: 3.953 kB / 0.5103 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.1313, allocations: 13.72 kB / 0.5103 GB, free: 3.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1315, allocations: 318.8 kB / 0.5106 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.1315, allocations: 37.83 kB / 0.5107 GB, free: 2.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.1316, allocations: 33.7 kB / 0.5107 GB, free: 2.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.574e-05/0.1316, allocations: 80.25 kB / 0.5108 GB, free: 2.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1316, allocations: 0 / 0.5108 GB, free: 2.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001343/0.1318, allocations: 113 kB / 0.5109 GB, free: 2.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.1318, allocations: 32.05 kB / 0.5109 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1318, allocations: 0 / 0.5109 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1318, allocations: 0 / 0.5109 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.1319, allocations: 4 kB / 0.5109 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1319, allocations: 4.094 kB / 0.5109 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1319, allocations: 11.94 kB / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.132, allocations: 4 kB / 0.5109 GB, free: 2.613 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.0001221/0.1321, allocations: 139.5 kB / 0.5111 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1321, allocations: 7.875 kB / 0.5111 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.1321, allocations: 3.156 kB / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1321, allocations: 0 / 0.5111 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1321, allocations: 4 kB / 0.5111 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1321, allocations: 4 kB / 0.5111 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1323, allocations: 101.3 kB / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1323, allocations: 4 kB / 0.5112 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.1323, allocations: 4 kB / 0.5112 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1323, allocations: 3.938 kB / 0.5112 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1323, allocations: 0 / 0.5112 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1323, allocations: 0 / 0.5112 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1323, allocations: 3.938 kB / 0.5112 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1325, allocations: 203 kB / 0.5114 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-06/0.1325, allocations: 3.984 kB / 0.5114 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1325, allocations: 7.938 kB / 0.5114 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1326, allocations: 0 / 0.5114 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1326, allocations: 8.031 kB / 0.5114 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1326, allocations: 0 / 0.5114 GB, free: 2.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.485e-05/0.1327, allocations: 75.28 kB / 0.5115 GB, free: 1.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1327, allocations: 0 / 0.5115 GB, free: 1.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1329, allocations: 11.98 kB / 0.5115 GB, free: 1.965 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.000132/0.133, allocations: 99.78 kB / 0.5116 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1332, allocations: 134.7 kB / 0.5117 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1332, allocations: 3.938 kB / 0.5117 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.1333, allocations: 93.09 kB / 0.5118 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1335, allocations: 4.125 kB / 0.5118 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.1338, allocations: 126.7 kB / 0.5119 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.1339, allocations: 59.22 kB / 0.512 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.077e-05/0.1339, allocations: 0 / 0.512 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.1339, allocations: 11.44 kB / 0.512 GB, free: 1.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1339, allocations: 0 / 0.512 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Templates: time 0.003059/0.137, allocations: 0.5976 MB / 0.5126 GB, free: 0.7578 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/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.815659855958074]