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.001235/0.001235, allocations: 119.8 kB / 17.1 MB, free: 5.945 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.001237/0.001237, allocations: 194.9 kB / 18.04 MB, free: 5.027 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.448/1.448, allocations: 205.1 MB / 223.9 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.06493/0.06493, allocations: 14.18 MB / 285.4 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.00168/0.00168, allocations: 80.36 kB / 400 MB, free: 42.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08502, allocations: 50.13 MB / 450.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002042/0.08711, allocations: 0.6986 MB / 450.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.08733, allocations: 31.89 kB / 450.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.08738, allocations: 0 / 450.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.08742, allocations: 0 / 450.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.08749, allocations: 0 / 450.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.08766, allocations: 7.984 kB / 450.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.08779, allocations: 27.92 kB / 450.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.0879, allocations: 4 kB / 450.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.08795, allocations: 15.92 kB / 450.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.08803, allocations: 3.984 kB / 450.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.08806, allocations: 8 kB / 450.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.08807, allocations: 0 / 450.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.08809, allocations: 0 / 450.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.08813, allocations: 12 kB / 450.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.08823, allocations: 19.91 kB / 450.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.08824, allocations: 0 / 450.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08824, allocations: 0 / 450.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.08826, allocations: 3.938 kB / 450.9 MB, free: 10.71 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.0003849/0.08865, allocations: 345.2 kB / 451.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.08871, allocations: 8.031 kB / 451.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.08877, allocations: 8.922 kB / 451.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.08898, allocations: 160.4 kB / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.08901, allocations: 4.375 kB / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.08903, allocations: 384 / 451.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.08921, allocations: 48.25 kB / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.08923, allocations: 192 / 451.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.08925, allocations: 3.938 kB / 451.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.08926, allocations: 0 / 451.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.08931, allocations: 15.98 kB / 451.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.08986, allocations: 244.9 kB / 451.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.08995, allocations: 34.55 kB / 451.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.09, allocations: 16.92 kB / 451.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.09002, allocations: 3.938 kB / 451.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.09007, allocations: 30.56 kB / 451.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 3.847e-06/0.09008, allocations: 4 kB / 451.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002435/0.09033, allocations: 83.39 kB / 451.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.09039, allocations: 77.11 kB / 452 MB, free: 9.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.09044, allocations: 89.86 kB / 452.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.09046, allocations: 29.7 kB / 452.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.0905, allocations: 88.03 kB / 452.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.09054, allocations: 11.94 kB / 452.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.09058, allocations: 13.72 kB / 452.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.09072, allocations: 315 kB / 452.5 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.09075, allocations: 8 kB / 452.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.09077, allocations: 15.92 kB / 452.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.09085, allocations: 76.27 kB / 452.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09086, allocations: 0 / 452.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.09097, allocations: 79.33 kB / 452.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.09102, allocations: 33.7 kB / 452.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.09103, allocations: 0 / 452.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.09105, allocations: 96 / 452.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.09109, allocations: 4 kB / 452.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.0911, allocations: 4 kB / 452.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.09116, allocations: 3.984 kB / 452.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.09117, allocations: 0 / 452.8 MB, free: 8.617 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 8.443e-05/0.09126, allocations: 139.5 kB / 452.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.0913, allocations: 11.88 kB / 452.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.09133, allocations: 11.08 kB / 452.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.09133, allocations: 0 / 452.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09134, allocations: 7.938 kB / 452.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.09138, allocations: 81.09 kB / 453 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.0914, allocations: 8 kB / 453 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.09148, allocations: 0 / 453 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.09153, allocations: 3.984 kB / 453 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001548/0.0917, allocations: 218 kB / 453.2 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000581/0.09229, allocations: 1.156 MB / 454.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.923e-05/0.09234, allocations: 15.98 kB / 454.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.09238, allocations: 79.28 kB / 454.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.09239, allocations: 0 / 454.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.09282, allocations: 154.5 kB / 454.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005833/0.09341, allocations: 0.7762 MB / 455.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of Templates: time 0.003241/0.09667, allocations: 0.5751 MB / 456 MB, free: 5.18 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=480 -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