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.001169/0.001169, allocations: 105.8 kB / 16.42 MB, free: 6.453 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.001214/0.001214, allocations: 188.1 kB / 17.35 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.39/1.39, 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.06179/0.06179, allocations: 14.17 MB / 284.8 MB, free: 13.84 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.002498/0.002498, allocations: 76.05 kB / 399.3 MB, free: 42.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1215, 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.002241/0.1238, allocations: 0.6909 MB / 450.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.124, allocations: 31.91 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.1241, allocations: 4 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.1241, allocations: 0 / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.1242, allocations: 0 / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1243, allocations: 11.92 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1244, allocations: 23.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.1245, allocations: 4 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1246, allocations: 7.938 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.1246, allocations: 11.98 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1247, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.1247, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1247, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.1247, allocations: 15.98 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.1248, allocations: 15.91 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1248, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1248, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1248, 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.0004052/0.1253, allocations: 349.2 kB / 450.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.1253, allocations: 8.031 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1254, allocations: 4.938 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1255, allocations: 164.4 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1255, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1255, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1257, allocations: 46.19 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1257, allocations: 192 / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1257, allocations: 7.875 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1257, allocations: 0 / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.1258, allocations: 11.98 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1262, allocations: 240.9 kB / 451.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.1263, allocations: 38.48 kB / 451.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.1263, allocations: 16.92 kB / 451.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.1263, allocations: 0 / 451.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1264, allocations: 34.56 kB / 451.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1264, allocations: 0 / 451.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002109/0.1266, allocations: 83.39 kB / 451.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1267, allocations: 85.23 kB / 451.3 MB, free: 9.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.489e-05/0.1267, allocations: 89.86 kB / 451.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1267, allocations: 29.69 kB / 451.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1268, allocations: 88.03 kB / 451.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1268, allocations: 7.891 kB / 451.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1268, allocations: 17.72 kB / 451.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1269, allocations: 310.8 kB / 451.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.127, allocations: 8 kB / 451.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.127, allocations: 15.98 kB / 451.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.1271, allocations: 72.27 kB / 451.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1271, allocations: 0 / 451.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.1272, allocations: 83.33 kB / 452 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.1272, allocations: 30.64 kB / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1272, allocations: 4 kB / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1273, allocations: 0 / 452.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.1273, allocations: 3.938 kB / 452.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1273, allocations: 3.984 kB / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1274, allocations: 8.094 kB / 452.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1274, allocations: 0 / 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 0.000103/0.1275, allocations: 143.5 kB / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1275, allocations: 3.938 kB / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.491e-05/0.1276, allocations: 7.078 kB / 452.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1276, allocations: 4 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1276, allocations: 3.984 kB / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1276, allocations: 0 / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1277, allocations: 161.6 kB / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1277, allocations: 4 kB / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.1278, allocations: 0 / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1278, allocations: 0 / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1278, allocations: 0 / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1278, allocations: 4 kB / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1278, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.1284, allocations: 0.9626 MB / 453.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1284, allocations: 81.09 kB / 453.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1285, allocations: 3.984 kB / 453.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1285, allocations: 7.938 kB / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1286, allocations: 0 / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1286, allocations: 0 / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.1286, allocations: 75.28 kB / 453.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.525e-06/0.1287, allocations: 4 kB / 453.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.129, allocations: 15.94 kB / 453.5 MB, free: 7 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.0001152/0.1291, allocations: 107.1 kB / 453.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1293, allocations: 75.39 kB / 453.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.1293, allocations: 4 kB / 453.7 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.1294, allocations: 63.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.0002011/0.1296, allocations: 4 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.0003042/0.1299, allocations: 195.9 kB / 454 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1302, allocations: 0.6768 MB / 454.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.1302, allocations: 0 / 454.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.1302, allocations: 7.438 kB / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1302, allocations: 0 / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of Templates: time 0.002598/0.1328, allocations: 0.5688 MB / 455.2 MB, free: 5.223 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