Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_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.001549/0.001549, allocations: 112.3 kB / 16.42 MB, free: 6.441 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.001797/0.001797, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07809/0.07809, allocations: 16.78 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 429.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08578, allocations: 53.55 MB / 482.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001738/0.08754, allocations: 0.699 MB / 483.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.08771, allocations: 27.89 kB / 483.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.08775, allocations: 4 kB / 483.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.08778, allocations: 3.938 kB / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.08782, allocations: 0 / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.08795, allocations: 7.938 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.08805, allocations: 19.98 kB / 483.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.08813, allocations: 7.984 kB / 483.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.08816, allocations: 11.98 kB / 483.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.08821, allocations: 0 / 483.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.08823, allocations: 8 kB / 483.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-06/0.08824, allocations: 0 / 483.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.08826, allocations: 4 kB / 483.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.08829, allocations: 11.88 kB / 483.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.656e-05/0.08837, allocations: 15.97 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08838, allocations: 0 / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.08838, allocations: 0 / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.08839, allocations: 0 / 483.8 MB, free: 2.125 MB / 350.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.0002976/0.08869, allocations: 353.2 kB / 484.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.08874, allocations: 8.031 kB / 484.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.08877, allocations: 4.938 kB / 484.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.08886, allocations: 164.4 kB / 484.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.08887, allocations: 4.312 kB / 484.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.08889, allocations: 384 / 484.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.089, allocations: 42.25 kB / 484.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.08901, allocations: 192 / 484.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.08903, allocations: 11.92 kB / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.08904, allocations: 0 / 484.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.08907, allocations: 8 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.08945, allocations: 252.9 kB / 484.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.08951, allocations: 30.45 kB / 484.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.08955, allocations: 16.92 kB / 484.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.08956, allocations: 0 / 484.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.08959, allocations: 34.56 kB / 484.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.08959, allocations: 4 kB / 484.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.08978, allocations: 95.36 kB / 484.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.08982, allocations: 77.11 kB / 484.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.447e-05/0.08986, allocations: 93.8 kB / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.08988, allocations: 29.7 kB / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.08991, allocations: 84.12 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.08994, allocations: 7.906 kB / 485.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.08997, allocations: 13.72 kB / 485.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.09006, allocations: 315 kB / 485.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.09009, allocations: 11.98 kB / 485.4 MB, free: 268 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.09011, allocations: 4 kB / 485.4 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.09018, allocations: 84.25 kB / 485.5 MB, free: 164 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.09019, allocations: 0 / 485.5 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.283e-05/0.09029, allocations: 75.34 kB / 485.5 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.09032, allocations: 33.69 kB / 485.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09033, allocations: 0 / 485.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.09035, allocations: 96 / 485.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.09038, allocations: 11.94 kB / 485.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.0904, allocations: 0 / 485.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.09045, allocations: 8 kB / 485.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.09046, allocations: 3.938 kB / 485.6 MB, free: 12 kB / 350.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 9.089e-05/0.09056, allocations: 139.5 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.09059, allocations: 3.938 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.09061, allocations: 3.125 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.09061, allocations: 0 / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09062, allocations: 4 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.09065, allocations: 81.11 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.09067, allocations: 0 / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.09076, allocations: 0 / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.0908, allocations: 11.98 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001378/0.09095, allocations: 210 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001509/0.0911, allocations: 264.3 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.19e-05/0.09115, allocations: 12 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.09118, allocations: 75.28 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Backend: time 1.61e-07/0.09119, allocations: 0 / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.09152, allocations: 149.7 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 0.0003214/0.09185, allocations: 0.5872 MB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Templates: time 0.002277/0.09414, allocations: 0.5884 MB / 487.7 MB, free: 13.75 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches