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.0009164/0.0009164, allocations: 91.73 kB / 16.67 MB, free: 6.113 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.001084/0.001085, allocations: 178.8 kB / 17.58 MB, free: 5.828 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.228/1.228, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06209/0.06209, allocations: 14.16 MB / 286.2 MB, free: 13.89 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.0004893/0.0004893, allocations: 16 kB / 350.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1938, allocations: 51.1 MB / 401.2 MB, free: 48.47 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0007108/0.1945, allocations: 440.3 kB / 401.7 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.1947, allocations: 35.42 kB / 401.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.1947, allocations: 1.156 kB / 401.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.1948, allocations: 0 / 401.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.1948, allocations: 0 / 401.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1949, allocations: 6.375 kB / 401.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.195, allocations: 14.64 kB / 401.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.195, allocations: 7.031 kB / 401.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.1951, allocations: 10.41 kB / 401.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.1951, allocations: 6.516 kB / 401.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1951, allocations: 1.375 kB / 401.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.1952, allocations: 0 / 401.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1952, allocations: 1.375 kB / 401.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1952, allocations: 32.42 kB / 401.8 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.029e-05/0.1953, allocations: 18.28 kB / 401.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1953, allocations: 0 / 401.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1953, allocations: 0 / 401.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1953, allocations: 5.281 kB / 401.8 MB, free: 48.04 MB / 318.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.0001847/0.1955, allocations: 339.6 kB / 402.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1955, allocations: 9.188 kB / 402.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1955, allocations: 2.219 kB / 402.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.321e-05/0.1956, allocations: 164.4 kB / 402.3 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1956, allocations: 1.594 kB / 402.3 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1956, allocations: 6.906 kB / 402.3 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/0.1957, allocations: 41.09 kB / 402.4 MB, free: 47.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1957, allocations: 1.688 kB / 402.4 MB, free: 47.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1958, allocations: 3.938 kB / 402.4 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1958, allocations: 5.375 kB / 402.4 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.1958, allocations: 4.562 kB / 402.4 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.1961, allocations: 259.7 kB / 402.6 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.1962, allocations: 29.02 kB / 402.7 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.1962, allocations: 19.12 kB / 402.7 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.1962, allocations: 5.281 kB / 402.7 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1963, allocations: 31.88 kB / 402.7 MB, free: 47.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.1963, allocations: 0 / 402.7 MB, free: 47.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.1964, allocations: 88.98 kB / 402.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1965, allocations: 78.23 kB / 402.9 MB, free: 46.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.508e-05/0.1965, allocations: 94.92 kB / 403 MB, free: 46.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.1965, allocations: 25.7 kB / 403 MB, free: 46.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.1965, allocations: 81.64 kB / 403.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1965, allocations: 13.17 kB / 403.1 MB, free: 46.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.1966, allocations: 11.06 kB / 403.1 MB, free: 46.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.1966, allocations: 314.8 kB / 403.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.1966, allocations: 4.094 kB / 403.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.1966, allocations: 9.156 kB / 403.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.846e-05/0.1967, allocations: 78.66 kB / 403.5 MB, free: 46.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1967, allocations: 0 / 403.5 MB, free: 46.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.903e-05/0.1968, allocations: 90.52 kB / 403.6 MB, free: 46.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1968, allocations: 31.89 kB / 403.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1968, allocations: 0 / 403.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.1968, allocations: 3.938 kB / 403.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.281e-05/0.1969, allocations: 2.156 kB / 403.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1969, allocations: 0 / 403.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.1969, allocations: 6.656 kB / 403.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.197, allocations: 1.469 kB / 403.6 MB, free: 46.08 MB / 318.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 4.521e-05/0.197, allocations: 146.1 kB / 403.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.197, allocations: 14.41 kB / 403.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.1971, allocations: 7.078 kB / 403.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1971, allocations: 0 / 403.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1971, allocations: 1.469 kB / 403.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1971, allocations: 0 / 403.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.1972, allocations: 160.4 kB / 403.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1972, allocations: 0 / 403.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.1972, allocations: 5.484 kB / 403.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1972, allocations: 1.375 kB / 403.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1972, allocations: 1.094 kB / 404 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1972, allocations: 0 / 404 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1972, allocations: 4 kB / 404 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1974, allocations: 0.7288 MB / 404.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.1975, allocations: 82.36 kB / 404.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1975, allocations: 1.031 kB / 404.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.1976, allocations: 6.578 kB / 404.8 MB, free: 44.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1976, allocations: 5.781 kB / 404.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1976, allocations: 5.219 kB / 404.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.041e-05/0.1976, allocations: 83.22 kB / 404.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1976, allocations: 0 / 404.9 MB, free: 44.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.198, allocations: 6.156 kB / 404.9 MB, free: 44.74 MB / 318.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 6.542e-05/0.198, allocations: 96.44 kB / 405 MB, free: 44.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.405e-05/0.1981, allocations: 78.33 kB / 405 MB, free: 44.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1982, allocations: 4.062 kB / 405 MB, free: 44.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.1982, allocations: 69.42 kB / 405.1 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1984, allocations: 5.562 kB / 405.1 MB, free: 44.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.1986, allocations: 226.2 kB / 405.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.1987, allocations: 0.6758 MB / 406 MB, free: 43.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.1987, allocations: 7.438 kB / 406 MB, free: 43.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1987, allocations: 0.9688 kB / 406 MB, free: 43.54 MB / 318.1 MB Notification: Performance of Templates: time 0.001573/0.2003, allocations: 0.5334 MB / 406.6 MB, free: 43.28 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches