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.001815/0.001815, allocations: 102.6 kB / 16.27 MB, free: 5.875 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.002046/0.002046, allocations: 186.6 kB / 17.19 MB, free: 5.52 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.502/1.502, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07941/0.07941, allocations: 16.68 MB / 307.7 MB, free: 14.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 69.91 kB / 374.4 MB, free: 49.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09378, allocations: 53.57 MB / 428 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001868/0.09569, allocations: 0.6897 MB / 428.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.09586, allocations: 27.89 kB / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.09591, allocations: 0 / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.09594, allocations: 3.938 kB / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.096, allocations: 0 / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.09613, allocations: 8 kB / 428.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.09623, allocations: 31.92 kB / 428.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.09631, allocations: 0 / 428.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.09634, allocations: 11.98 kB / 428.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.09639, allocations: 7.984 kB / 428.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.0964, allocations: 0 / 428.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.09641, allocations: 4 kB / 428.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.09643, allocations: 3.938 kB / 428.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.09647, allocations: 7.938 kB / 428.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.227e-05/0.09654, allocations: 15.97 kB / 428.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09654, allocations: 0 / 428.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09655, allocations: 8 kB / 428.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09656, allocations: 0 / 428.8 MB, free: 10.02 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.0002335/0.0968, allocations: 345.8 kB / 429.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.09685, allocations: 8.031 kB / 429.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.09689, allocations: 4.938 kB / 429.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.467e-05/0.09695, allocations: 161.5 kB / 429.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.09696, allocations: 384 / 429.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.09698, allocations: 4.375 kB / 429.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.09708, allocations: 42.25 kB / 429.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.09709, allocations: 4.188 kB / 429.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.0971, allocations: 3.938 kB / 429.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.09711, allocations: 0 / 429.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.09714, allocations: 15.92 kB / 429.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.09747, allocations: 244.9 kB / 429.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.09752, allocations: 30.55 kB / 429.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.09756, allocations: 16.92 kB / 429.6 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.09757, allocations: 4 kB / 429.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.09759, allocations: 34.56 kB / 429.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.09759, allocations: 0 / 429.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.09777, allocations: 87.27 kB / 429.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.0978, allocations: 85.09 kB / 429.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.486e-05/0.09781, allocations: 93.86 kB / 429.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.09783, allocations: 25.83 kB / 430 MB, free: 8.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/0.09785, allocations: 92.05 kB / 430.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.09787, allocations: 4.219 kB / 430.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.0979, allocations: 13.72 kB / 430.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.09795, allocations: 314.8 kB / 430.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.09797, allocations: 11.98 kB / 430.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.09799, allocations: 8 kB / 430.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.09804, allocations: 80.2 kB / 430.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09805, allocations: 4 kB / 430.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.057e-05/0.09812, allocations: 79.33 kB / 430.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.09815, allocations: 40.36 kB / 430.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.09816, allocations: 0 / 430.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.09818, allocations: 0 / 430.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.09822, allocations: 3.984 kB / 430.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.09823, allocations: 0 / 430.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.09828, allocations: 7.906 kB / 430.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.09829, allocations: 0 / 430.6 MB, free: 7.926 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 4.902e-05/0.09834, allocations: 140.5 kB / 430.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.09837, allocations: 7.922 kB / 430.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.386e-05/0.09839, allocations: 11.11 kB / 430.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0984, allocations: 0 / 430.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.0984, allocations: 0 / 430.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.09841, allocations: 0 / 430.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.896e-05/0.09851, allocations: 165.6 kB / 430.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.09852, allocations: 0 / 430.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.09853, allocations: 0 / 430.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.09854, allocations: 0 / 430.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.09855, allocations: 11.94 kB / 430.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.09856, allocations: 0 / 430.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09856, allocations: 0 / 430.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.09866, allocations: 177.2 kB / 431.1 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.09868, allocations: 81.09 kB / 431.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.0987, allocations: 4 kB / 431.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.09877, allocations: 3.938 kB / 431.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.09882, allocations: 8.031 kB / 431.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.09883, allocations: 0 / 431.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.09885, allocations: 83.27 kB / 431.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09885, allocations: 0 / 431.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00021/0.09906, allocations: 4 kB / 431.3 MB, free: 7.137 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 6.763e-05/0.09914, allocations: 99.25 kB / 431.4 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.09925, allocations: 83.33 kB / 431.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09926, allocations: 0 / 431.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.0993, allocations: 67.47 kB / 431.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.0995, allocations: 7.938 kB / 431.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.0997, allocations: 118.8 kB / 431.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.0998, allocations: 0.6768 MB / 432.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.09982, allocations: 7.438 kB / 432.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.09982, allocations: 0 / 432.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of Templates: time 0.001786/0.1016, allocations: 0.5329 MB / 432.9 MB, free: 5.457 MB / 302.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