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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007076/0.0007076, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001678, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006678/0.0006678, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009108/0.001579, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9274/0.9274, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08063/1.008, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04868/0.04868, allocations: 13.3 MB / 257.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007811/0.05649, allocations: 5.049 MB / 262.5 MB, free: 12.81 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 263.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.81e-05, allocations: 2.312 kB / 263.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002311/0.002339, allocations: 0.7758 MB / 264.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 9.838e-05/0.002437, allocations: 23.91 kB / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.002463, allocations: 0 / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.002488, allocations: 3.938 kB / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.391e-05/0.002512, allocations: 0 / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.901e-05/0.002581, allocations: 15.94 kB / 264.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.002674, allocations: 19.98 kB / 264.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.404e-05/0.002748, allocations: 0 / 264.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.002793, allocations: 11.98 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.002856, allocations: 4 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.002872, allocations: 0 / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.002882, allocations: 4 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.002901, allocations: 3.938 kB / 264.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.002924, allocations: 4 kB / 264.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.245e-05/0.003007, allocations: 19.97 kB / 264.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.003018, allocations: 4 kB / 264.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00302, allocations: 0 / 264.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.003028, allocations: 0 / 264.8 MB, free: 10.54 MB / 266.7 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.0002679/0.003296, allocations: 242.5 kB / 265 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.00333, allocations: 12.03 kB / 265 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.003369, allocations: 4.875 kB / 265 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.96e-05/0.003438, allocations: 109.8 kB / 265.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.003449, allocations: 384 / 265.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.003462, allocations: 4.375 kB / 265.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.003567, allocations: 63.95 kB / 265.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.003574, allocations: 192 / 265.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.003583, allocations: 8.375 kB / 265.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.003589, allocations: 384 / 265.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.989e-05/0.003619, allocations: 41.62 kB / 265.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.003912, allocations: 156.1 kB / 265.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.003977, allocations: 56.27 kB / 265.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.004013, allocations: 42.66 kB / 265.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.004019, allocations: 0 / 265.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.004043, allocations: 34.56 kB / 265.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004044, allocations: 0 / 265.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.00421, allocations: 142.7 kB / 265.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.004237, allocations: 59.34 kB / 265.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.24e-05/0.004269, allocations: 93.86 kB / 265.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.004282, allocations: 29.69 kB / 265.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.004312, allocations: 80.14 kB / 265.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.004337, allocations: 7.953 kB / 265.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.004366, allocations: 9.719 kB / 265.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.004456, allocations: 314.8 kB / 266.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.004485, allocations: 37.69 kB / 266.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.004506, allocations: 33.7 kB / 266.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.004565, allocations: 72.44 kB / 266.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004567, allocations: 0 / 266.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.583e-05/0.004653, allocations: 105 kB / 266.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.004691, allocations: 33.7 kB / 266.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004695, allocations: 0 / 266.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.004708, allocations: 0 / 266.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.004749, allocations: 3.984 kB / 266.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.004754, allocations: 7.922 kB / 266.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.004793, allocations: 4 kB / 266.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.004801, allocations: 0 / 266.5 MB, free: 8.516 MB / 266.7 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.178e-05/0.004873, allocations: 143.6 kB / 266.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.004898, allocations: 7.984 kB / 266.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.004913, allocations: 7.156 kB / 266.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.004915, allocations: 0 / 266.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.004918, allocations: 3.938 kB / 266.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.00492, allocations: 0 / 266.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.348e-05/0.005014, allocations: 61.91 kB / 266.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005015, allocations: 0 / 266.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.00503, allocations: 4 kB / 266.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.005037, allocations: 3.984 kB / 266.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.005039, allocations: 7.938 kB / 266.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.005044, allocations: 0 / 266.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005045, allocations: 0 / 266.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.005048, allocations: 4 kB / 266.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.005172, allocations: 194.8 kB / 267 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.005185, allocations: 11.98 kB / 267 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.005244, allocations: 0 / 267 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.005277, allocations: 4 kB / 267 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005282, allocations: 0 / 267 MB, free: 8.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.354e-06/0.005289, allocations: 4.859 kB / 267 MB, free: 8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005289, allocations: 4.031 kB / 267 MB, free: 7.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.005463, allocations: 7.938 kB / 267 MB, free: 7.988 MB / 266.7 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 9.103e-05/0.005554, allocations: 84.41 kB / 267.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.005677, allocations: 131.7 kB / 267.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.005682, allocations: 0 / 267.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.005739, allocations: 97.91 kB / 267.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.00587, allocations: 15.98 kB / 267.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.006075, allocations: 130.4 kB / 267.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.00611, allocations: 63.55 kB / 267.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.116e-05/0.006122, allocations: 0 / 267.5 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.006181, allocations: 55.38 kB / 267.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.006182, allocations: 0 / 267.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Templates: time 0.001949/0.008131, allocations: 0.5822 MB / 268.1 MB, free: 6.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.402787381783128]