Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002858/0.002858, allocations: 196.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06257/0.06257, allocations: 14.16 MB / 283.9 MB, free: 7.098 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 59.91 kB / 347.2 MB, free: 17.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 50.13 MB / 397.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002352/0.1058, allocations: 0.6987 MB / 398 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.106, allocations: 23.91 kB / 398 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.1061, allocations: 4 kB / 398 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1061, allocations: 0 / 398 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.1062, allocations: 0 / 398 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1063, allocations: 19.91 kB / 398 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.1065, allocations: 19.94 kB / 398.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1066, allocations: 7.984 kB / 398.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.1066, allocations: 4 kB / 398.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.1067, allocations: 7.938 kB / 398.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1067, allocations: 0 / 398.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.1067, allocations: 4 kB / 398.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1067, allocations: 4 kB / 398.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.1068, allocations: 11.98 kB / 398.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.249e-05/0.1069, allocations: 15.97 kB / 398.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1069, allocations: 0 / 398.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1069, allocations: 0 / 398.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1069, allocations: 0 / 398.1 MB, free: 14.31 MB / 302.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.000398/0.1073, allocations: 341.6 kB / 398.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1073, allocations: 12.03 kB / 398.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1074, allocations: 0.9375 kB / 398.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1075, allocations: 168.3 kB / 398.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1075, allocations: 8.359 kB / 398.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.1075, allocations: 4.375 kB / 398.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1077, allocations: 46.19 kB / 398.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1077, allocations: 192 / 398.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1077, allocations: 3.938 kB / 398.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1077, allocations: 0 / 398.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.1078, allocations: 12 kB / 398.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.1082, allocations: 245 kB / 398.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.1083, allocations: 30.52 kB / 399 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.1084, allocations: 24.84 kB / 399 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1084, allocations: 0 / 399 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1084, allocations: 30.56 kB / 399 MB, free: 13.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1084, allocations: 0 / 399 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.1087, allocations: 95.39 kB / 399.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1087, allocations: 77.11 kB / 399.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.2e-05/0.1088, allocations: 89.86 kB / 399.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1088, allocations: 25.7 kB / 399.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.1088, allocations: 80.14 kB / 399.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1089, allocations: 11.91 kB / 399.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1089, allocations: 17.7 kB / 399.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.109, allocations: 310.8 kB / 399.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.1091, allocations: 12.03 kB / 399.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.1091, allocations: 7.938 kB / 399.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.1092, allocations: 80.25 kB / 399.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1092, allocations: 4 kB / 399.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.1093, allocations: 79.33 kB / 399.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.1094, allocations: 40.14 kB / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1094, allocations: 0 / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1094, allocations: 0 / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.1094, allocations: 0 / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1094, allocations: 8.094 kB / 399.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1095, allocations: 4 kB / 400 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1095, allocations: 0 / 400 MB, free: 12.21 MB / 302.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 8.224e-05/0.1096, allocations: 143.5 kB / 400.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1096, allocations: 11.92 kB / 400.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.1097, allocations: 7.062 kB / 400.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1097, allocations: 0 / 400.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1097, allocations: 0 / 400.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1097, allocations: 0 / 400.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1098, allocations: 161.6 kB / 400.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1098, allocations: 0 / 400.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.1099, allocations: 3.984 kB / 400.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1099, allocations: 4 kB / 400.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1099, allocations: 0 / 400.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1099, allocations: 0 / 400.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1099, allocations: 0 / 400.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1101, allocations: 177.2 kB / 400.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1101, allocations: 85.14 kB / 400.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1101, allocations: 0 / 400.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.1102, allocations: 4 kB / 400.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1103, allocations: 3.984 kB / 400.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1103, allocations: 3.938 kB / 400.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.1103, allocations: 75.28 kB / 400.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1103, allocations: 0 / 400.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1105, allocations: 8 kB / 400.6 MB, free: 11.43 MB / 302.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.0001443/0.1107, allocations: 107.2 kB / 400.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1109, allocations: 79.39 kB / 400.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1109, allocations: 4 kB / 400.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.111, allocations: 67.39 kB / 400.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1112, allocations: 7.938 kB / 400.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.1115, allocations: 96.92 kB / 401 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1119, allocations: 0.6767 MB / 401.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.1119, allocations: 4.125 kB / 401.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.1119, allocations: 7.438 kB / 401.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1119, allocations: 0 / 401.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Templates: time 0.002993/0.1149, allocations: 0.5679 MB / 402.2 MB, free: 9.742 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches