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.002287/0.002287, allocations: 104.3 kB / 19.71 MB, free: 1.914 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.002711/0.002711, allocations: 214.7 kB / 23 MB, free: 4.984 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.643/1.643, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.07427/0.07427, allocations: 14.39 MB / 300.5 MB, free: 7.238 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.002308/0.002308, allocations: 79.89 kB / 424.2 MB, free: 36.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1072, allocations: 52.89 MB / 477.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002237/0.1095, allocations: 0.7171 MB / 477.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.1097, allocations: 23.91 kB / 477.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.1097, allocations: 4 kB / 477.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.1098, allocations: 0 / 477.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.1098, allocations: 0 / 477.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.11, allocations: 11.92 kB / 477.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1102, allocations: 15.98 kB / 477.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1103, allocations: 8 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.1103, allocations: 3.938 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.1104, allocations: 11.98 kB / 477.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1104, allocations: 0 / 477.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.1104, allocations: 4 kB / 477.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.1104, allocations: 3.984 kB / 477.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.1105, allocations: 12 kB / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1106, allocations: 15.92 kB / 478 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.1106, allocations: 0 / 478 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1106, allocations: 0 / 478 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1107, allocations: 3.984 kB / 478 MB, free: 14.39 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.0005301/0.1112, allocations: 268.1 kB / 478.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.1112, allocations: 8.031 kB / 478.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1113, allocations: 4.938 kB / 478.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1114, allocations: 110.5 kB / 478.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1115, allocations: 384 / 478.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1115, allocations: 4.375 kB / 478.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1117, allocations: 75.89 kB / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1117, allocations: 192 / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1117, allocations: 3.938 kB / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1117, allocations: 0 / 478.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.1118, allocations: 41.69 kB / 478.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1124, allocations: 184.6 kB / 478.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.936e-05/0.1125, allocations: 64.25 kB / 478.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1126, allocations: 38.62 kB / 478.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1126, allocations: 3.938 kB / 478.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.1126, allocations: 38.55 kB / 478.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1127, allocations: 0 / 478.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000286/0.1129, allocations: 138.8 kB / 478.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.113, allocations: 77.11 kB / 479 MB, free: 13.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.1131, allocations: 89.86 kB / 479.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1131, allocations: 29.64 kB / 479.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.1131, allocations: 88.22 kB / 479.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1132, allocations: 11.95 kB / 479.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1132, allocations: 17.7 kB / 479.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1134, allocations: 314.8 kB / 479.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.1134, allocations: 33.7 kB / 479.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.1135, allocations: 41.62 kB / 479.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.1135, allocations: 76.27 kB / 479.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1135, allocations: 0 / 479.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.1137, allocations: 109 kB / 479.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.1137, allocations: 33.8 kB / 479.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1137, allocations: 0 / 479.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1137, allocations: 4 kB / 479.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.1138, allocations: 0 / 479.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1138, allocations: 3.984 kB / 479.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1139, allocations: 7.938 kB / 479.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1139, allocations: 0 / 479.8 MB, free: 12.24 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.0001398/0.114, allocations: 139.5 kB / 480 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.114, allocations: 3.938 kB / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.1141, allocations: 7.109 kB / 480 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.1141, allocations: 11.98 kB / 480 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1141, allocations: 7.984 kB / 480 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1141, allocations: 0 / 480 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1142, allocations: 97.33 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1142, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-06/0.1142, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1142, allocations: 3.938 kB / 480.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1142, allocations: 4 kB / 480.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1142, allocations: 4 kB / 480.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1142, allocations: 3.984 kB / 480.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.1149, allocations: 1.009 MB / 481.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.1149, allocations: 7.938 kB / 481.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.115, allocations: 0 / 481.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.115, allocations: 4 kB / 481.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1151, allocations: 7.984 kB / 481.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1151, allocations: 3.938 kB / 481.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.1151, allocations: 75.28 kB / 481.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1151, allocations: 4 kB / 481.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1155, allocations: 4 kB / 481.2 MB, free: 10.71 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.0001408/0.1156, allocations: 99.28 kB / 481.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1158, allocations: 134.7 kB / 481.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1158, allocations: 0 / 481.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.1159, allocations: 101 kB / 481.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1161, allocations: 4 kB / 481.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1166, allocations: 233.4 kB / 481.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.157e-05/0.1166, allocations: 55.36 kB / 481.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.1166, allocations: 0 / 481.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.1167, allocations: 7.438 kB / 481.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1167, allocations: 4.125 kB / 481.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003482/0.1201, allocations: 0.5979 MB / 482.5 MB, free: 9.387 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/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: 5.203230423852801]