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.001463/0.001463, 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.001907/0.001907, allocations: 215 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.754/1.754, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.06961/0.06961, allocations: 14.39 MB / 300.5 MB, free: 7.234 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.002661/0.002661, allocations: 71.89 kB / 424.2 MB, free: 36.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.112, allocations: 52.9 MB / 477.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002455/0.1145, allocations: 0.7132 MB / 477.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.1147, allocations: 31.89 kB / 477.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.1148, allocations: 4 kB / 477.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.1148, allocations: 0 / 477.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.1148, allocations: 0 / 477.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.115, allocations: 11.92 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1152, allocations: 23.94 kB / 477.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1153, allocations: 7.984 kB / 477.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.1153, allocations: 8 kB / 477.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.1154, allocations: 0 / 477.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1154, allocations: 0 / 477.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.1154, allocations: 4 kB / 477.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1154, allocations: 4 kB / 477.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.1154, allocations: 7.984 kB / 477.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1156, allocations: 19.91 kB / 478 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1156, allocations: 0 / 478 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1156, allocations: 0 / 478 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1156, allocations: 0 / 478 MB, free: 14.27 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.0004295/0.116, allocations: 272.1 kB / 478.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.116, allocations: 8.031 kB / 478.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1161, allocations: 0.9375 kB / 478.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1162, allocations: 110.5 kB / 478.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1162, allocations: 384 / 478.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1162, allocations: 8.375 kB / 478.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1164, allocations: 75.88 kB / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1164, allocations: 192 / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1164, allocations: 3.938 kB / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1164, allocations: 0 / 478.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.1165, allocations: 37.7 kB / 478.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.117, allocations: 188.6 kB / 478.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.1171, allocations: 56.22 kB / 478.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1171, allocations: 42.66 kB / 478.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1171, allocations: 7.938 kB / 478.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1172, allocations: 38.56 kB / 478.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1172, allocations: 0 / 478.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003026/0.1175, allocations: 138.8 kB / 478.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.1176, allocations: 81.09 kB / 479 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.1176, allocations: 89.86 kB / 479.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1176, allocations: 33.58 kB / 479.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1177, allocations: 84.09 kB / 479.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1177, allocations: 7.953 kB / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.1178, allocations: 17.72 kB / 479.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1179, allocations: 318.9 kB / 479.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.118, allocations: 37.69 kB / 479.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.118, allocations: 29.7 kB / 479.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.937e-05/0.1181, allocations: 84.25 kB / 479.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1181, allocations: 0 / 479.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001302/0.1182, allocations: 109 kB / 479.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.1183, allocations: 29.7 kB / 479.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1183, allocations: 0 / 479.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1183, allocations: 4 kB / 479.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.1183, allocations: 8.078 kB / 479.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1183, allocations: 0 / 479.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1184, allocations: 7.938 kB / 479.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1184, allocations: 0 / 479.8 MB, free: 12.11 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.0001198/0.1185, allocations: 139.5 kB / 480 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1185, allocations: 3.938 kB / 480 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.1186, allocations: 11.11 kB / 480 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1186, allocations: 4 kB / 480 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.1186, allocations: 4 kB / 480 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1186, allocations: 0 / 480 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1187, allocations: 105.3 kB / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1187, allocations: 0 / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.1187, allocations: 0 / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1187, allocations: 3.938 kB / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1188, allocations: 0 / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1188, allocations: 4 kB / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1188, allocations: 0 / 480.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.1196, allocations: 1.009 MB / 481.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.1196, allocations: 11.94 kB / 481.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1196, allocations: 0 / 481.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.1197, allocations: 8.031 kB / 481.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.1197, allocations: 0 / 481.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1197, allocations: 3.938 kB / 481.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.1198, allocations: 83.2 kB / 481.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1198, allocations: 4 kB / 481.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1201, allocations: 4 kB / 481.2 MB, free: 10.58 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.0001352/0.1202, allocations: 95.25 kB / 481.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.1205, allocations: 138.7 kB / 481.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1205, allocations: 0 / 481.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.1206, allocations: 101.1 kB / 481.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1208, allocations: 10.59 kB / 481.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.1213, allocations: 225.4 kB / 481.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.1213, allocations: 59.34 kB / 481.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.33e-05/0.1214, allocations: 0 / 481.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1214, allocations: 7.438 kB / 481.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1214, allocations: 0 / 481.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003551/0.1249, allocations: 0.5975 MB / 482.5 MB, free: 9.258 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: 5.022984629962593]