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.001382/0.001383, allocations: 102.5 kB / 16.41 MB, free: 6.492 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.001491/0.001491, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06343/0.06343, allocations: 14.17 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.001501/0.001501, allocations: 68.39 kB / 399.3 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08595, allocations: 50.13 MB / 449.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002058/0.08804, allocations: 0.7025 MB / 450.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.08824, allocations: 35.89 kB / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.08829, allocations: 0 / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.08833, allocations: 0 / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/0.0884, allocations: 0 / 450.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.08853, allocations: 15.92 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.08865, allocations: 12 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.08874, allocations: 11.98 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.08878, allocations: 15.92 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.08884, allocations: 3.984 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.08886, allocations: 4 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.08887, allocations: 0 / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.08889, allocations: 4 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.08893, allocations: 4 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.08901, allocations: 15.92 kB / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.08902, allocations: 3.984 kB / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08902, allocations: 0 / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.08904, 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.0003498/0.08939, allocations: 345.3 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.08943, allocations: 8.031 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.08947, allocations: 0.9375 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.038e-05/0.08956, allocations: 164.4 kB / 450.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.08958, allocations: 12.25 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.0896, allocations: 384 / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.08973, allocations: 42.25 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.08974, allocations: 192 / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.08976, allocations: 7.938 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.08978, allocations: 0 / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.08981, allocations: 12 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.09023, allocations: 244.9 kB / 451.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.0903, allocations: 34.45 kB / 451.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.09035, allocations: 20.95 kB / 451.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.09036, allocations: 0 / 451.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.09039, allocations: 34.56 kB / 451.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.0904, allocations: 0 / 451.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.09061, allocations: 83.39 kB / 451.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.09066, allocations: 85.05 kB / 451.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.09071, allocations: 89.86 kB / 451.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.09073, allocations: 25.7 kB / 451.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.09077, allocations: 88.08 kB / 451.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.09079, allocations: 7.891 kB / 451.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.09083, allocations: 17.84 kB / 451.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.09093, allocations: 314.8 kB / 451.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.09097, allocations: 4 kB / 451.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.09099, allocations: 11.98 kB / 451.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.795e-05/0.09107, allocations: 76.27 kB / 451.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09108, allocations: 0 / 451.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.307e-05/0.09117, allocations: 79.33 kB / 452 MB, free: 8.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.09122, allocations: 33.8 kB / 452 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.09124, allocations: 4 kB / 452 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.09126, allocations: 7.938 kB / 452.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.0913, allocations: 4 kB / 452.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.09131, allocations: 0 / 452.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.09136, allocations: 3.984 kB / 452.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.09138, allocations: 4 kB / 452.1 MB, free: 8.621 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.787e-05/0.09146, allocations: 139.5 kB / 452.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.0915, allocations: 7.938 kB / 452.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.09152, allocations: 11.08 kB / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.09152, allocations: 0 / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.09153, allocations: 0 / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.09154, allocations: 0 / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.0917, allocations: 161.6 kB / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.09171, allocations: 0 / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.09173, allocations: 4 kB / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.09174, allocations: 3.938 kB / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.09175, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09176, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.09176, allocations: 0 / 452.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.09223, allocations: 0.9627 MB / 453.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.09228, allocations: 81.02 kB / 453.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.0923, allocations: 11.98 kB / 453.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.09238, allocations: 7.969 kB / 453.4 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.09243, allocations: 4 kB / 453.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.09244, allocations: 0 / 453.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.09247, allocations: 75.28 kB / 453.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09247, allocations: 3.938 kB / 453.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.09281, allocations: 7.938 kB / 453.5 MB, free: 6.996 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.0001076/0.09292, allocations: 107.2 kB / 453.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.09305, allocations: 71.41 kB / 453.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09307, allocations: 8.062 kB / 453.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.09313, allocations: 67.39 kB / 453.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.09334, allocations: 6.656 kB / 453.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.09363, allocations: 195.8 kB / 454 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.09386, allocations: 0.6768 MB / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.022e-05/0.09388, allocations: 0 / 454.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.0939, allocations: 7.438 kB / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of SimCode: time 8.726e-06/0.09391, allocations: 0 / 454.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of Templates: time 0.002411/0.09633, allocations: 0.5719 MB / 455.2 MB, free: 5.207 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=50 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches