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.001943/0.001953, allocations: 108.5 kB / 16.41 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.002104/0.002104, allocations: 189.5 kB / 17.34 MB, free: 5.727 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.49/1.49, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06528/0.06528, allocations: 14.16 MB / 284.7 MB, free: 13.86 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.001403/0.001403, allocations: 75.42 kB / 399.3 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08294, 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.001809/0.08479, allocations: 0.7038 MB / 450.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.08496, allocations: 31.95 kB / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.085, allocations: 0 / 450.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.08502, allocations: 3.938 kB / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.08507, allocations: 0 / 450.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.08518, allocations: 11.98 kB / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.08527, allocations: 20 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.08534, allocations: 3.984 kB / 450.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.08537, allocations: 11.94 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.08542, allocations: 8 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.08543, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.08545, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.08546, allocations: 0 / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.08549, allocations: 7.984 kB / 450.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.058e-05/0.08556, allocations: 23.84 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08557, allocations: 0 / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08558, allocations: 4 kB / 450.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.08559, 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.0002933/0.08589, allocations: 341.3 kB / 450.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.08592, allocations: 12.03 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.08596, allocations: 4.938 kB / 450.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.08606, allocations: 164.4 kB / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.08607, allocations: 384 / 450.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.08609, allocations: 4.375 kB / 450.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.08619, allocations: 42.25 kB / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.08621, allocations: 192 / 450.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.08622, allocations: 7.875 kB / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.08623, allocations: 0 / 450.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.08627, allocations: 11.94 kB / 450.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.08664, allocations: 249 kB / 451.1 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.0867, allocations: 30.52 kB / 451.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.08674, allocations: 16.91 kB / 451.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.08676, allocations: 4 kB / 451.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.08679, allocations: 30.56 kB / 451.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.0868, allocations: 4 kB / 451.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001869/0.08699, allocations: 87.33 kB / 451.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.08704, allocations: 81.11 kB / 451.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.0871, allocations: 89.86 kB / 451.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.08712, allocations: 25.7 kB / 451.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.08716, allocations: 84.08 kB / 451.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.08718, allocations: 7.906 kB / 451.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.08722, allocations: 17.7 kB / 451.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.08733, allocations: 319 kB / 451.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.08736, allocations: 8 kB / 451.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.08738, allocations: 4 kB / 451.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.08745, allocations: 80.25 kB / 451.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.08746, allocations: 0 / 451.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.887e-05/0.08756, allocations: 83.27 kB / 452 MB, free: 8.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.0876, allocations: 33.7 kB / 452 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.0876, allocations: 0 / 452 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.08762, allocations: 4.094 kB / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.08766, allocations: 0 / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.08767, allocations: 0 / 452.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.08772, allocations: 8 kB / 452.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.08773, allocations: 0 / 452.1 MB, free: 8.637 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.584e-05/0.08781, allocations: 143.5 kB / 452.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.08785, allocations: 7.938 kB / 452.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.08787, allocations: 11.08 kB / 452.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.08788, allocations: 0 / 452.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.08789, allocations: 4 kB / 452.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0879, allocations: 3.984 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.08803, allocations: 161.6 kB / 452.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.08804, allocations: 0 / 452.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.08805, allocations: 0 / 452.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.08806, allocations: 0 / 452.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.08807, allocations: 4 kB / 452.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.08809, allocations: 3.938 kB / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.08809, allocations: 0 / 452.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.08856, allocations: 0.9626 MB / 453.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.08861, allocations: 81.02 kB / 453.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.08862, allocations: 0 / 453.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.0887, allocations: 11.92 kB / 453.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.08874, allocations: 8.031 kB / 453.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.08875, allocations: 0 / 453.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.08879, allocations: 79.28 kB / 453.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0888, allocations: 3.938 kB / 453.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.08912, allocations: 7.938 kB / 453.5 MB, free: 7 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 8.322e-05/0.08921, allocations: 95.25 kB / 453.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.08935, allocations: 79.39 kB / 453.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.08936, allocations: 0 / 453.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.08942, allocations: 79.39 kB / 453.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.08961, allocations: 0.9375 kB / 453.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.08987, allocations: 195.8 kB / 454 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.09011, allocations: 0.6729 MB / 454.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.488e-06/0.09013, allocations: 0 / 454.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.09015, allocations: 15.44 kB / 454.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.09015, allocations: 0 / 454.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of Templates: time 0.002173/0.09233, allocations: 0.5639 MB / 455.2 MB, free: 5.219 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