Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_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.001483/0.001483, allocations: 100.8 kB / 16.35 MB, free: 5.875 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.001694/0.001695, allocations: 195.3 kB / 17.3 MB, free: 5.516 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.328/1.328, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06258/0.06258, allocations: 14.16 MB / 284.7 MB, free: 13.88 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.001656/0.001656, allocations: 59.91 kB / 348.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2052, allocations: 50.12 MB / 398.7 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002095/0.2074, allocations: 0.6987 MB / 399.4 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001507/0.2075, allocations: 30.42 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.2076, allocations: 1.188 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.2076, allocations: 0 / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.2076, allocations: 0 / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.2078, allocations: 10.28 kB / 399.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.2079, allocations: 24.64 kB / 399.5 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.208, allocations: 6.219 kB / 399.5 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.208, allocations: 7.359 kB / 399.5 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.2081, allocations: 6.375 kB / 399.5 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2081, allocations: 2.188 kB / 399.5 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-06/0.2081, allocations: 1.25 kB / 399.5 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2081, allocations: 4.875 kB / 399.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.2081, allocations: 6.312 kB / 399.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.351e-05/0.2082, allocations: 19.86 kB / 399.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2082, allocations: 5.344 kB / 399.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2082, allocations: 0 / 399.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2082, allocations: 0 / 399.6 MB, free: 48.12 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.0002186/0.2085, allocations: 342.5 kB / 399.9 MB, free: 47.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2085, allocations: 10.34 kB / 399.9 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.2085, allocations: 2.219 kB / 399.9 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.822e-05/0.2086, allocations: 164.2 kB / 400.1 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2086, allocations: 1.688 kB / 400.1 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.2086, allocations: 10.97 kB / 400.1 MB, free: 47.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2087, allocations: 53.38 kB / 400.1 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2087, allocations: 192 / 400.1 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2087, allocations: 9.266 kB / 400.2 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2088, allocations: 0 / 400.2 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2088, allocations: 5.906 kB / 400.2 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.2091, allocations: 246.5 kB / 400.4 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.2092, allocations: 33.53 kB / 400.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.2092, allocations: 23.8 kB / 400.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2092, allocations: 1.219 kB / 400.5 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2093, allocations: 30.56 kB / 400.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2093, allocations: 1.219 kB / 400.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.2094, allocations: 84.97 kB / 400.6 MB, free: 47.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.2095, allocations: 82.08 kB / 400.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.463e-05/0.2095, allocations: 91.14 kB / 400.7 MB, free: 46.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.403e-06/0.2095, allocations: 29.7 kB / 400.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.2095, allocations: 81.2 kB / 400.8 MB, free: 46.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.2095, allocations: 5.188 kB / 400.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.2096, allocations: 13.44 kB / 400.9 MB, free: 46.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.2096, allocations: 314.8 kB / 401.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.2096, allocations: 12.61 kB / 401.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.2097, allocations: 8.719 kB / 401.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.2097, allocations: 82.38 kB / 401.3 MB, free: 46.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2097, allocations: 0 / 401.3 MB, free: 46.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.467e-05/0.2098, allocations: 78.91 kB / 401.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2098, allocations: 35.5 kB / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2098, allocations: 0 / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2099, allocations: 1.406 kB / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.179e-05/0.2099, allocations: 1.469 kB / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2099, allocations: 0 / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.2099, allocations: 6.5 kB / 401.4 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.21, allocations: 1.125 kB / 401.4 MB, free: 46.16 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.561e-05/0.21, allocations: 154.2 kB / 401.5 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.21, allocations: 5.438 kB / 401.6 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.2101, allocations: 8.484 kB / 401.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2101, allocations: 0 / 401.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2101, allocations: 7.938 kB / 401.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2101, allocations: 1.188 kB / 401.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.2102, allocations: 152.7 kB / 401.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2102, allocations: 0 / 401.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.2102, allocations: 1.281 kB / 401.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2102, allocations: 5.125 kB / 401.7 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.2102, allocations: 9.031 kB / 401.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2102, allocations: 3.984 kB / 401.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2102, allocations: 0 / 401.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.521e-05/0.2103, allocations: 176 kB / 401.9 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.2104, allocations: 77.11 kB / 402 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2104, allocations: 1.281 kB / 402 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.2105, allocations: 6.594 kB / 402 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2105, allocations: 13.36 kB / 402 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2105, allocations: 1.469 kB / 402 MB, free: 45.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.367e-06/0.2105, allocations: 75.28 kB / 402.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2105, allocations: 0 / 402.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.2107, allocations: 5.375 kB / 402.1 MB, free: 45.41 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.449e-05/0.2108, allocations: 97.59 kB / 402.2 MB, free: 45.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.2109, allocations: 77.98 kB / 402.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2109, allocations: 8.062 kB / 402.3 MB, free: 45.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.211, allocations: 65.34 kB / 402.3 MB, free: 45.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.2112, allocations: 10.52 kB / 402.3 MB, free: 45.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.2113, allocations: 93 kB / 402.4 MB, free: 45.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.632e-05/0.2114, allocations: 0.6793 MB / 403.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.907e-06/0.2114, allocations: 0 / 403.1 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.2115, allocations: 8.688 kB / 403.1 MB, free: 44.35 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2115, allocations: 0 / 403.1 MB, free: 44.35 MB / 318.1 MB Notification: Performance of Templates: time 0.002146/0.2136, allocations: 0.5653 MB / 403.7 MB, free: 44.08 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches