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.001689/0.001689, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001631/0.001631, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.689/1.689, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06575/0.06575, allocations: 14.18 MB / 284.8 MB, free: 13.85 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.00187/0.00187, allocations: 67.06 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1105, allocations: 50.14 MB / 449.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.003252/0.1138, allocations: 0.6909 MB / 450.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000353/0.1142, allocations: 35.89 kB / 450.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.1143, allocations: 0 / 450.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.765e-05/0.1144, allocations: 0 / 450.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.1145, allocations: 0 / 450.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1147, allocations: 7.938 kB / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1149, allocations: 23.98 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.115, allocations: 7.969 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.1151, allocations: 15.92 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.1152, allocations: 4 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1152, allocations: 0 / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.1152, allocations: 0 / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1152, allocations: 8 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1153, allocations: 8 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1154, allocations: 19.91 kB / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1154, allocations: 0 / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1154, allocations: 0 / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1154, allocations: 0 / 450.2 MB, free: 10.72 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.0004717/0.1159, allocations: 349.2 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.116, allocations: 8.031 kB / 450.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.116, allocations: 4.938 kB / 450.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1162, allocations: 160.4 kB / 450.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1162, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1162, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1164, allocations: 46.19 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1165, allocations: 192 / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1165, allocations: 11.86 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1165, allocations: 0 / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.1166, allocations: 8 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1171, allocations: 249 kB / 451.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.1172, allocations: 34.52 kB / 451.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.1173, allocations: 12.86 kB / 451.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1173, allocations: 0 / 451.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1173, allocations: 38.56 kB / 451.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1173, allocations: 0 / 451.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002818/0.1176, allocations: 83.5 kB / 451.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1177, allocations: 85.11 kB / 451.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.1177, allocations: 89.86 kB / 451.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1178, allocations: 25.7 kB / 451.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1178, allocations: 92.02 kB / 451.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1178, allocations: 7.953 kB / 451.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1179, allocations: 13.72 kB / 451.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.118, allocations: 310.8 kB / 451.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.1181, allocations: 15.92 kB / 451.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.1181, allocations: 16 kB / 451.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.1182, allocations: 76.25 kB / 451.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1182, allocations: 0 / 451.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.1183, allocations: 75.34 kB / 452 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.1184, allocations: 37.69 kB / 452.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1184, allocations: 7.984 kB / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1184, allocations: 0 / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.1185, allocations: 4 kB / 452.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1185, allocations: 4.094 kB / 452.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.1186, allocations: 4 kB / 452.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1186, allocations: 3.938 kB / 452.1 MB, free: 8.605 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 0.0001105/0.1187, allocations: 139.5 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1187, allocations: 7.922 kB / 452.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1188, allocations: 7.078 kB / 452.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1188, allocations: 4 kB / 452.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1188, allocations: 0 / 452.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1188, allocations: 0 / 452.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.119, allocations: 161.6 kB / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.119, allocations: 0 / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.119, allocations: 0 / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.119, allocations: 0 / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.119, allocations: 0 / 452.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.119, allocations: 7.984 kB / 452.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.119, allocations: 0 / 452.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.1196, allocations: 0.9626 MB / 453.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.1197, allocations: 77.11 kB / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1197, allocations: 0 / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.1198, allocations: 7.938 kB / 453.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.1199, allocations: 7.984 kB / 453.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1199, allocations: 3.984 kB / 453.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.12, allocations: 79.28 kB / 453.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.12, allocations: 3.938 kB / 453.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.1203, allocations: 8 kB / 453.5 MB, free: 6.984 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.0001473/0.1205, allocations: 99.19 kB / 453.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1207, allocations: 83.33 kB / 453.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1207, allocations: 0 / 453.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.1208, allocations: 63.41 kB / 453.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.121, allocations: 8.891 kB / 453.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.1215, allocations: 199.8 kB / 454 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1219, allocations: 0.6729 MB / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.1219, allocations: 0 / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.122, allocations: 7.438 kB / 454.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.122, allocations: 0 / 454.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of Templates: time 0.003399/0.1254, allocations: 0.559 MB / 455.2 MB, free: 5.211 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=480 -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/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) Reference file matches