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.001592/0.001592, allocations: 109.4 kB / 16.28 MB, free: 5.941 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.001746/0.001746, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.456/1.456, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06401/0.06401, allocations: 14.16 MB / 284.6 MB, free: 13.94 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.001556/0.001556, allocations: 80.3 kB / 347.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3078, allocations: 50.12 MB / 398 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002206/0.31, allocations: 0.6998 MB / 398.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.3103, allocations: 25.62 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.3103, allocations: 1.094 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3104, allocations: 3.938 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.3105, allocations: 0 / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3106, allocations: 10.27 kB / 398.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3108, allocations: 25.08 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3109, allocations: 14.45 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.3109, allocations: 3.531 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.311, allocations: 9.234 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.311, allocations: 2.219 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.311, allocations: 2.312 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.311, allocations: 0 / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.3111, allocations: 7.312 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.031e-05/0.3112, allocations: 15.41 kB / 398.8 MB, free: 47.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3112, allocations: 3.938 kB / 398.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3112, allocations: 3.938 kB / 398.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3112, allocations: 5.188 kB / 398.8 MB, free: 47.96 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.0003017/0.3115, allocations: 341.3 kB / 399.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3116, allocations: 13.33 kB / 399.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3116, allocations: 3.156 kB / 399.2 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.3117, allocations: 160.4 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3117, allocations: 5.531 kB / 399.3 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3117, allocations: 2.531 kB / 399.3 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3118, allocations: 41.75 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3119, allocations: 4.188 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3119, allocations: 5 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3119, allocations: 1.094 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.3119, allocations: 13.64 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3124, allocations: 247.2 kB / 399.6 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.3124, allocations: 32.2 kB / 399.7 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.3125, allocations: 19.8 kB / 399.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.3125, allocations: 1.156 kB / 399.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3125, allocations: 31.69 kB / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3125, allocations: 0 / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000213/0.3127, allocations: 89.73 kB / 399.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3128, allocations: 78.11 kB / 399.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.403e-05/0.3128, allocations: 89.86 kB / 400 MB, free: 46.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3128, allocations: 26.8 kB / 400 MB, free: 46.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.3129, allocations: 89.25 kB / 400.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3129, allocations: 9.078 kB / 400.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.3129, allocations: 16.78 kB / 400.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.313, allocations: 312.2 kB / 400.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.313, allocations: 4.156 kB / 400.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.313, allocations: 12.11 kB / 400.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.3131, allocations: 74.17 kB / 400.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3131, allocations: 5.5 kB / 400.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.677e-05/0.3132, allocations: 85.27 kB / 400.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.3133, allocations: 32.64 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3133, allocations: 0 / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3133, allocations: 0 / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.3133, allocations: 1.375 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3133, allocations: 1.25 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.3134, allocations: 10.17 kB / 400.6 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3134, allocations: 1.219 kB / 400.6 MB, free: 46 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 7.091e-05/0.3135, allocations: 146 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.3135, allocations: 10.44 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.3136, allocations: 7.078 kB / 400.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3136, allocations: 5.031 kB / 400.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3136, allocations: 0 / 400.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3136, allocations: 3.984 kB / 400.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3137, allocations: 161.7 kB / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3137, allocations: 0 / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.3137, allocations: 1.406 kB / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3138, allocations: 0 / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3138, allocations: 9.562 kB / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3138, allocations: 0 / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3138, allocations: 5.25 kB / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3141, allocations: 0.9625 MB / 401.9 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3142, allocations: 81.09 kB / 402 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3142, allocations: 4.984 kB / 402 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.3143, allocations: 6.094 kB / 402 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.3143, allocations: 2.969 kB / 402 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3143, allocations: 0 / 402 MB, free: 44.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.262e-05/0.3144, allocations: 75.28 kB / 402.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3144, allocations: 0 / 402.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000339/0.3147, allocations: 5.969 kB / 402.1 MB, free: 44.42 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 9.848e-05/0.3148, allocations: 108.9 kB / 402.2 MB, free: 44.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.315, allocations: 74.52 kB / 402.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.315, allocations: 0 / 402.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.315, allocations: 69.81 kB / 402.3 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3152, allocations: 6.312 kB / 402.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3155, allocations: 201.7 kB / 402.5 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3156, allocations: 0.679 MB / 403.2 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.3157, allocations: 4.969 kB / 403.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3157, allocations: 8.562 kB / 403.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3157, allocations: 0 / 403.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of Templates: time 0.002738/0.3184, allocations: 0.559 MB / 403.8 MB, free: 42.98 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=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