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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_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.001371/0.001371, allocations: 106.6 kB / 16.36 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 198 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07611/0.07611, allocations: 16.75 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 62.92 kB / 375.2 MB, free: 48.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1108, allocations: 53.57 MB / 428.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001833/0.1127, allocations: 0.6904 MB / 429.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.1129, allocations: 35.89 kB / 429.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.1129, allocations: 0 / 429.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.113, allocations: 4 kB / 429.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.113, allocations: 3.938 kB / 429.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1132, allocations: 15.92 kB / 429.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.1133, allocations: 15.94 kB / 429.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.583e-05/0.1133, allocations: 12.55 kB / 429.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.1134, allocations: 0 / 429.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.1134, allocations: 8 kB / 429.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1134, allocations: 0 / 429.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.1135, allocations: 4 kB / 429.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1135, allocations: 0 / 429.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.1135, allocations: 15.92 kB / 429.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/0.1136, allocations: 15.97 kB / 429.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1136, allocations: 0 / 429.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1136, allocations: 0 / 429.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1136, allocations: 0 / 429.6 MB, free: 9.059 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.0002302/0.1138, allocations: 341.3 kB / 430 MB, free: 8.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1139, allocations: 12.03 kB / 430 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1139, allocations: 0.9375 kB / 430 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.97e-05/0.114, allocations: 164.4 kB / 430.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.114, allocations: 8.312 kB / 430.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.114, allocations: 4.375 kB / 430.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1141, allocations: 42.25 kB / 430.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1141, allocations: 4.172 kB / 430.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1141, allocations: 7.938 kB / 430.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1142, allocations: 0 / 430.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.1142, allocations: 8 kB / 430.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.1145, allocations: 245 kB / 430.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/0.1146, allocations: 38.45 kB / 430.5 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.1146, allocations: 20.91 kB / 430.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.1146, allocations: 0 / 430.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.1147, allocations: 34.56 kB / 430.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1147, allocations: 3.938 kB / 430.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.1148, allocations: 83.39 kB / 430.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1149, allocations: 89.17 kB / 430.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.54e-05/0.1149, allocations: 89.86 kB / 430.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.1149, allocations: 25.7 kB / 430.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.1149, allocations: 84.05 kB / 430.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.115, allocations: 7.938 kB / 430.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.115, allocations: 17.7 kB / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.115, allocations: 314.8 kB / 431.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.1151, allocations: 4 kB / 431.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.1151, allocations: 12 kB / 431.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.1151, allocations: 88.19 kB / 431.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1151, allocations: 0 / 431.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.549e-05/0.1152, allocations: 79.33 kB / 431.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1153, allocations: 33.7 kB / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1153, allocations: 0 / 431.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1153, allocations: 3.938 kB / 431.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.1153, allocations: 0 / 431.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1153, allocations: 4 kB / 431.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.1154, allocations: 8 kB / 431.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1154, allocations: 0 / 431.5 MB, free: 6.949 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 5.425e-05/0.1155, allocations: 144.4 kB / 431.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1155, allocations: 7.938 kB / 431.6 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.1155, allocations: 3.125 kB / 431.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1155, allocations: 0 / 431.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1155, allocations: 0 / 431.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1155, allocations: 0 / 431.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.1156, allocations: 153.6 kB / 431.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1156, allocations: 7.984 kB / 431.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.1156, allocations: 0 / 431.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1157, allocations: 4 kB / 431.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1157, allocations: 4 kB / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1157, allocations: 0 / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1157, allocations: 0 / 431.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.1158, allocations: 181.1 kB / 432 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.1158, allocations: 77.11 kB / 432 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1158, allocations: 7.969 kB / 432 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1159, allocations: 7.984 kB / 432 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.1159, allocations: 4 kB / 432.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.116, allocations: 0 / 432.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.037e-05/0.116, allocations: 75.28 kB / 432.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.116, allocations: 0 / 432.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1162, allocations: 8 kB / 432.1 MB, free: 6.172 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 7.224e-05/0.1163, allocations: 95.25 kB / 432.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1164, allocations: 83.39 kB / 432.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1164, allocations: 0 / 432.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.1164, allocations: 75.33 kB / 432.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1167, allocations: 3.938 kB / 432.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.1169, allocations: 97.06 kB / 432.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.117, allocations: 0.6729 MB / 433.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.078e-05/0.117, allocations: 0 / 433.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.117, allocations: 7.438 kB / 433.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.117, allocations: 8.062 kB / 433.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of Templates: time 0.0023/0.1193, allocations: 0.573 MB / 433.7 MB, free: 4.488 MB / 302.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) 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) Reference file matches