Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_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.001481/0.001487, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 200.2 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06426/0.06426, allocations: 14.17 MB / 284.1 MB, free: 7.277 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.001784/0.001784, allocations: 71.89 kB / 347.1 MB, free: 17.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08336, allocations: 50.12 MB / 397.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002075/0.08547, allocations: 0.7622 MB / 398 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000199/0.0857, allocations: 31.89 kB / 398 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.08573, allocations: 3.938 kB / 398 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.08577, allocations: 0 / 398 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.08583, allocations: 0 / 398 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.08597, allocations: 15.92 kB / 398 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.08603, allocations: 8 kB / 398 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.08612, allocations: 11.98 kB / 398.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.08616, allocations: 11.98 kB / 398.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.0862, allocations: 0 / 398.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.08623, allocations: 4 kB / 398.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-06/0.08624, allocations: 3.938 kB / 398.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.08625, allocations: 0 / 398.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.08629, allocations: 11.98 kB / 398.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.082e-05/0.08635, allocations: 7.984 kB / 398.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.08636, allocations: 4 kB / 398.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.08636, allocations: 0 / 398.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.08637, allocations: 0 / 398.1 MB, free: 14.73 MB / 302.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.0003027/0.08668, allocations: 341.6 kB / 398.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.08672, allocations: 8.031 kB / 398.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.08676, allocations: 12.94 kB / 398.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.08686, allocations: 164.3 kB / 398.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.08688, allocations: 384 / 398.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.0869, allocations: 4.375 kB / 398.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.08701, allocations: 46.19 kB / 398.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.08703, allocations: 192 / 398.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.08705, allocations: 3.938 kB / 398.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.08706, allocations: 3.984 kB / 398.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.0871, allocations: 12 kB / 398.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.08751, allocations: 245 kB / 398.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/0.08757, allocations: 30.52 kB / 399 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.08762, allocations: 20.84 kB / 399 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.08763, allocations: 7.938 kB / 399 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.08766, allocations: 34.56 kB / 399 MB, free: 13.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.08767, allocations: 0 / 399 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.08787, allocations: 91.28 kB / 399.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.08792, allocations: 81.11 kB / 399.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.08796, allocations: 89.86 kB / 399.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.08799, allocations: 25.7 kB / 399.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.08802, allocations: 80.14 kB / 399.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.08804, allocations: 8.031 kB / 399.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.08808, allocations: 17.72 kB / 399.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.08819, allocations: 314.8 kB / 399.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.08823, allocations: 11.98 kB / 399.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.08825, allocations: 11.88 kB / 399.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.083e-05/0.08832, allocations: 72.27 kB / 399.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.08833, allocations: 0 / 399.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.351e-05/0.08843, allocations: 83.33 kB / 399.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.08847, allocations: 41.78 kB / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.08848, allocations: 0 / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.08849, allocations: 0 / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.08853, allocations: 0 / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.08854, allocations: 0 / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.0886, allocations: 4 kB / 399.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.08861, allocations: 0 / 399.9 MB, free: 12.64 MB / 302.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.576e-05/0.0887, allocations: 147.5 kB / 400.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.08874, allocations: 11.92 kB / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.346e-05/0.08876, allocations: 7.125 kB / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.08876, allocations: 0 / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.08877, allocations: 0 / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.08877, allocations: 0 / 400.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.08891, allocations: 161.6 kB / 400.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.08892, allocations: 0 / 400.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.08894, allocations: 0 / 400.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.08894, allocations: 0 / 400.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.08896, allocations: 4 kB / 400.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.08897, allocations: 7.984 kB / 400.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.08897, allocations: 0 / 400.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.08912, allocations: 185.1 kB / 400.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.08916, allocations: 77.11 kB / 400.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.08918, allocations: 4 kB / 400.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.08925, allocations: 0 / 400.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.0893, allocations: 7.984 kB / 400.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.08931, allocations: 3.938 kB / 400.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.08934, allocations: 79.31 kB / 400.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08935, allocations: 0 / 400.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.08957, allocations: 8 kB / 400.6 MB, free: 11.84 MB / 302.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.458e-05/0.08966, allocations: 99.19 kB / 400.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.08979, allocations: 79.39 kB / 400.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0898, allocations: 0 / 400.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.08985, allocations: 63.41 kB / 400.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.09006, allocations: 11.92 kB / 400.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.09029, allocations: 120.6 kB / 401 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.09052, allocations: 0.677 MB / 401.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.09054, allocations: 15.31 kB / 401.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.09055, allocations: 0 / 401.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Templates: time 0.001781/0.09234, allocations: 0.5233 MB / 402.2 MB, free: 10.17 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches