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.001312/0.001312, allocations: 115.5 kB / 19.7 MB, free: 2.191 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.001518/0.001518, allocations: 223.5 kB / 23.02 MB, free: 5.043 MB / 14.72 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 1.657/1.657, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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.06937/0.06937, allocations: 14.39 MB / 300.4 MB, free: 7.434 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003097/0.003097, allocations: 80.39 kB / 424.3 MB, free: 36.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1351, allocations: 52.9 MB / 477.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002227/0.1374, allocations: 0.7133 MB / 477.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.1376, allocations: 27.89 kB / 477.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.1376, allocations: 0 / 477.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1376, allocations: 3.938 kB / 477.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1377, allocations: 4 kB / 477.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.1378, allocations: 7.938 kB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1379, allocations: 19.98 kB / 477.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.138, allocations: 4 kB / 477.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.002e-05/0.1381, allocations: 11.98 kB / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.1381, allocations: 0 / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1381, allocations: 4 kB / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.1381, allocations: 0 / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1382, allocations: 7.984 kB / 478 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1382, allocations: 15.88 kB / 478 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.1383, allocations: 19.97 kB / 478 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1383, allocations: 0 / 478 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1383, allocations: 0 / 478 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1383, allocations: 0 / 478 MB, free: 14.58 MB / 350.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.0003867/0.1387, allocations: 272.1 kB / 478.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1387, allocations: 8.031 kB / 478.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1387, allocations: 4.938 kB / 478.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.1388, allocations: 102.5 kB / 478.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1389, allocations: 4.312 kB / 478.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1389, allocations: 8.375 kB / 478.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.139, allocations: 46.25 kB / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.139, allocations: 192 / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.139, allocations: 3.938 kB / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1391, allocations: 0 / 478.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.1391, allocations: 7.984 kB / 478.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1396, allocations: 220 kB / 478.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.05e-05/0.1396, allocations: 38.48 kB / 478.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.1397, allocations: 16.92 kB / 478.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1397, allocations: 0 / 478.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1397, allocations: 30.56 kB / 478.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1397, allocations: 0 / 478.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002237/0.1399, allocations: 83.39 kB / 478.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.14, allocations: 81.05 kB / 478.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.14, allocations: 97.98 kB / 479 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1401, allocations: 25.7 kB / 479 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.1401, allocations: 88.08 kB / 479.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1401, allocations: 7.953 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1402, allocations: 13.72 kB / 479.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1403, allocations: 314.8 kB / 479.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.1403, allocations: 4 kB / 479.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.1404, allocations: 11.98 kB / 479.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.1404, allocations: 80.33 kB / 479.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1404, allocations: 4 kB / 479.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.1405, allocations: 79.33 kB / 479.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.1406, allocations: 33.7 kB / 479.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1406, allocations: 0 / 479.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1406, allocations: 3.938 kB / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.98e-05/0.1406, allocations: 0 / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1406, allocations: 4 kB / 479.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1407, allocations: 3.984 kB / 479.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1407, allocations: 7.969 kB / 479.7 MB, free: 12.68 MB / 350.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.0001001/0.1408, allocations: 135.5 kB / 479.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1408, allocations: 7.938 kB / 479.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.1409, allocations: 11.11 kB / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1409, allocations: 0 / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1409, allocations: 0 / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1409, allocations: 3.984 kB / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.141, allocations: 124.7 kB / 479.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.141, allocations: 0 / 479.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.141, allocations: 8 kB / 479.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.141, allocations: 0 / 479.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1411, allocations: 3.938 kB / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1411, allocations: 0 / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1411, allocations: 0 / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.1417, allocations: 0.9588 MB / 480.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.1417, allocations: 3.938 kB / 480.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1418, allocations: 11.98 kB / 480.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.1418, allocations: 3.938 kB / 480.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1419, allocations: 7.984 kB / 480.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1419, allocations: 0 / 480.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.1419, allocations: 75.28 kB / 481 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1419, allocations: 0 / 481 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1423, allocations: 8 kB / 481 MB, free: 11.19 MB / 350.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.0001194/0.1424, allocations: 103.2 kB / 481.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1425, allocations: 79.39 kB / 481.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1425, allocations: 0 / 481.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.1426, allocations: 63.41 kB / 481.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1428, allocations: 4 kB / 481.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.1432, allocations: 203.8 kB / 481.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1436, allocations: 0.6768 MB / 482.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.212e-05/0.1436, allocations: 0 / 482.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.1436, allocations: 11.44 kB / 482.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1436, allocations: 0 / 482.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Templates: time 0.003258/0.1469, allocations: 0.5906 MB / 482.7 MB, free: 9.379 MB / 350.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.924679714000376]