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.001325/0.001325, allocations: 109.6 kB / 16.42 MB, free: 6.496 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.001346/0.001346, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06389/0.06389, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.001448/0.001448, allocations: 67.17 kB / 399.3 MB, free: 42.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07181/0.07327, allocations: 50.13 MB / 449.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001843/0.07515, allocations: 0.7024 MB / 450.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.07533, allocations: 27.95 kB / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.07537, allocations: 4 kB / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.07542, allocations: 3.938 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.07547, allocations: 0 / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.07561, allocations: 11.98 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.07571, allocations: 23.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.0758, allocations: 4 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.07583, allocations: 11.94 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.07588, allocations: 3.984 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.0759, allocations: 4 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.07592, allocations: 0 / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.07594, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.07597, allocations: 15.92 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.027e-05/0.07605, allocations: 19.91 kB / 450.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07606, allocations: 0 / 450.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07606, allocations: 0 / 450.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.07607, allocations: 0 / 450.3 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.0002927/0.07637, allocations: 341.3 kB / 450.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.07641, allocations: 12.02 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.07645, allocations: 0.9375 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.07654, allocations: 160.4 kB / 450.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.07656, allocations: 8.375 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.07657, allocations: 384 / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.07669, allocations: 44.31 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.0767, allocations: 192 / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.07672, allocations: 3.938 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.07672, allocations: 0 / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.07676, allocations: 19.92 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.07716, allocations: 236.9 kB / 451.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.07723, allocations: 42.48 kB / 451.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.07727, allocations: 16.92 kB / 451.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.07728, allocations: 0 / 451.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.07731, allocations: 30.56 kB / 451.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.07732, allocations: 0 / 451.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001954/0.07752, allocations: 91.33 kB / 451.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.07756, allocations: 81.23 kB / 451.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.705e-05/0.0776, allocations: 89.86 kB / 451.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.07762, allocations: 25.7 kB / 451.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.07766, allocations: 84.12 kB / 451.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.07769, allocations: 15.84 kB / 451.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.07772, allocations: 13.72 kB / 451.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.07782, allocations: 310.8 kB / 451.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.07786, allocations: 8 kB / 451.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.07788, allocations: 11.98 kB / 451.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.572e-05/0.07795, allocations: 80.2 kB / 451.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07796, allocations: 0 / 451.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.379e-05/0.07806, allocations: 79.33 kB / 452 MB, free: 8.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.0781, allocations: 34.64 kB / 452.1 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.07811, allocations: 0 / 452.1 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.07814, allocations: 3.984 kB / 452.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.71e-05/0.07818, allocations: 4 kB / 452.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.07819, allocations: 96 / 452.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.07824, allocations: 11.98 kB / 452.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.07826, allocations: 4 kB / 452.1 MB, free: 8.633 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 7.668e-05/0.07834, allocations: 135.5 kB / 452.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.07838, allocations: 11.94 kB / 452.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.0784, allocations: 7.078 kB / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.0784, allocations: 0 / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.07841, allocations: 0 / 452.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.07845, allocations: 81.09 kB / 452.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.07847, allocations: 8 kB / 452.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.07855, allocations: 0 / 452.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.0786, allocations: 8 kB / 452.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001414/0.07875, allocations: 214 kB / 452.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001541/0.07892, allocations: 252.5 kB / 452.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.191e-05/0.07896, allocations: 12 kB / 452.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.07899, allocations: 79.34 kB / 452.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.07899, allocations: 3.938 kB / 452.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.07935, allocations: 145.8 kB / 453 MB, free: 7.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003462/0.0797, allocations: 0.5911 MB / 453.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of Templates: time 0.002384/0.0821, allocations: 0.5832 MB / 454.2 MB, free: 6.363 MB / 334.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 -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