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.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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_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.001711/0.001711, allocations: 111.1 kB / 16.41 MB, free: 6.508 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.001907/0.001907, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06262/0.06262, allocations: 14.17 MB / 284.8 MB, free: 13.86 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.002811/0.002811, allocations: 73.12 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1081, allocations: 50.14 MB / 449.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001992/0.1101, allocations: 0.7064 MB / 450.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.1103, allocations: 27.95 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1104, allocations: 0 / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.1104, allocations: 3.938 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1105, allocations: 0 / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.1106, allocations: 4 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.1107, allocations: 19.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1109, allocations: 4 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.867e-05/0.1109, allocations: 11.94 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.111, allocations: 7.984 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.111, allocations: 4 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-06/0.111, allocations: 0 / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.111, allocations: 0 / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.1111, allocations: 15.98 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.1112, allocations: 23.84 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1112, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1112, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1112, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.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.0003793/0.1116, allocations: 349.2 kB / 450.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1116, allocations: 12.03 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1117, allocations: 0.9375 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1118, allocations: 160.4 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1118, allocations: 4.375 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1118, allocations: 384 / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1119, allocations: 42.25 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.112, allocations: 192 / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.112, allocations: 3.938 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.112, allocations: 4 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.112, allocations: 15.92 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1125, allocations: 248.9 kB / 451.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.1126, allocations: 34.55 kB / 451.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.1126, allocations: 16.92 kB / 451.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1126, allocations: 0 / 451.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1127, allocations: 30.56 kB / 451.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1127, allocations: 4 kB / 451.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002576/0.1129, allocations: 87.33 kB / 451.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.113, allocations: 81.09 kB / 451.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.1131, allocations: 89.86 kB / 451.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1131, allocations: 33.64 kB / 451.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1131, allocations: 88.09 kB / 451.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1131, allocations: 3.953 kB / 451.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1132, allocations: 13.72 kB / 451.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1133, allocations: 315 kB / 451.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.1133, allocations: 11.98 kB / 451.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.1133, allocations: 8 kB / 451.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.1134, allocations: 76.27 kB / 451.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1134, allocations: 0 / 451.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.1135, allocations: 87.27 kB / 452 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.1136, allocations: 29.7 kB / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1136, allocations: 0 / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1136, allocations: 8.078 kB / 452.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.1137, allocations: 4 kB / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1137, allocations: 0 / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.1137, allocations: 0 / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1138, allocations: 8 kB / 452.1 MB, free: 8.625 MB / 334.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.226e-05/0.1138, allocations: 135.5 kB / 452.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1139, allocations: 7.938 kB / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.1139, allocations: 15.06 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1139, allocations: 0 / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1139, allocations: 4 kB / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1139, allocations: 0 / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1141, allocations: 153.6 kB / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1141, allocations: 0 / 452.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.1141, allocations: 7.984 kB / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1141, allocations: 0 / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1141, allocations: 0 / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1141, allocations: 0 / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1142, allocations: 3.938 kB / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.1147, allocations: 0.9627 MB / 453.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1147, allocations: 77.11 kB / 453.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1147, allocations: 4 kB / 453.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1148, allocations: 7.875 kB / 453.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1149, allocations: 16.02 kB / 453.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1149, allocations: 0 / 453.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.555e-05/0.1149, allocations: 79.22 kB / 453.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1149, allocations: 0 / 453.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1153, allocations: 4 kB / 453.5 MB, free: 7.004 MB / 334.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.000128/0.1154, allocations: 103.2 kB / 453.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1156, allocations: 79.39 kB / 453.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1156, allocations: 0 / 453.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.1156, allocations: 71.41 kB / 453.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1159, allocations: 4.781 kB / 453.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.1162, allocations: 199.7 kB / 454 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1165, allocations: 0.669 MB / 454.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.1165, allocations: 0 / 454.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1166, allocations: 11.44 kB / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1166, allocations: 0 / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Templates: time 0.002794/0.1194, allocations: 0.56 MB / 455.2 MB, free: 5.227 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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) 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) Reference file matches