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.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.001193/0.001193, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001339/0.001339, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7822/0.7822, allocations: 158.6 MB / 185 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03629/0.03629, allocations: 10.65 MB / 247.9 MB, free: 4.73 MB / 234.7 MB " [Timeout remaining time 180] 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.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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 371.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.409e-05, allocations: 2.281 kB / 371.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001238/0.001262, allocations: 0.7015 MB / 372.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.001414, allocations: 35.89 kB / 372.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.001444, allocations: 0 / 372.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.001471, allocations: 7.875 kB / 372.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.00151, allocations: 0 / 372.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.001633, allocations: 11.98 kB / 372.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.001717, allocations: 12 kB / 372.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.001798, allocations: 7.984 kB / 372.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.001829, allocations: 8 kB / 372.5 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.001881, allocations: 7.984 kB / 372.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.001895, allocations: 4 kB / 372.5 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-06/0.001902, allocations: 4 kB / 372.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.001916, allocations: 0 / 372.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.001942, allocations: 7.922 kB / 372.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.002012, allocations: 19.97 kB / 372.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002014, allocations: 4 kB / 372.6 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002015, allocations: 0 / 372.6 MB, free: 2.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.002019, allocations: 0 / 372.6 MB, free: 2.695 MB / 298.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.0002551/0.002274, allocations: 264.2 kB / 372.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.002307, allocations: 15.97 kB / 372.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.002337, allocations: 0.9375 kB / 372.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.261e-05/0.002389, allocations: 105.8 kB / 372.9 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.002401, allocations: 4.375 kB / 372.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.00241, allocations: 384 / 372.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.002509, allocations: 71.95 kB / 373 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.002516, allocations: 192 / 373 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.002525, allocations: 4.375 kB / 373 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002529, allocations: 4.312 kB / 373 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.304e-05/0.002562, allocations: 41.62 kB / 373.1 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.002862, allocations: 196.6 kB / 373.3 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.002915, allocations: 48.28 kB / 373.3 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.002947, allocations: 50.61 kB / 373.3 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.002956, allocations: 0 / 373.3 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.002976, allocations: 34.56 kB / 373.4 MB, free: 1.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.002977, allocations: 0 / 373.4 MB, free: 1.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.003154, allocations: 142.7 kB / 373.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.003188, allocations: 81.11 kB / 373.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/0.003219, allocations: 89.86 kB / 373.7 MB, free: 1.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.003228, allocations: 25.7 kB / 373.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.003249, allocations: 84.08 kB / 373.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.003268, allocations: 16.06 kB / 373.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.003293, allocations: 13.72 kB / 373.8 MB, free: 1.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.003373, allocations: 314.8 kB / 374.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.003396, allocations: 37.64 kB / 374.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.003416, allocations: 37.69 kB / 374.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.003461, allocations: 76.27 kB / 374.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.003463, allocations: 0 / 374.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.636e-05/0.003559, allocations: 109 kB / 374.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.003582, allocations: 29.7 kB / 374.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.003586, allocations: 96 / 374.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.003599, allocations: 11.92 kB / 374.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.003634, allocations: 4 kB / 374.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.003638, allocations: 0 / 374.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.003667, allocations: 3.953 kB / 374.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.003675, allocations: 4 kB / 374.4 MB, free: 0.5391 MB / 298.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 5.579e-05/0.003731, allocations: 139.5 kB / 374.6 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.003742, allocations: 0 / 374.6 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.33e-05/0.003755, allocations: 15.08 kB / 374.6 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.003758, allocations: 3.938 kB / 374.6 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.003761, allocations: 0 / 374.6 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.003765, allocations: 8 kB / 374.6 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.961e-05/0.003834, allocations: 93.33 kB / 374.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.003836, allocations: 4 kB / 374.7 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.003843, allocations: 4 kB / 374.7 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.003844, allocations: 0 / 374.7 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.00385, allocations: 3.984 kB / 374.7 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00385, allocations: 0 / 374.7 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.003852, allocations: 3.938 kB / 374.7 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.003976, allocations: 206.9 kB / 374.9 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.00398, allocations: 3.938 kB / 374.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.003991, allocations: 8.031 kB / 374.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.004047, allocations: 0 / 374.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.004091, allocations: 15.92 kB / 374.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.004095, allocations: 0 / 374.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.67e-05/0.004111, allocations: 75.28 kB / 375 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004111, allocations: 0 / 375 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.00425, allocations: 8 kB / 375 MB, free: 15.89 MB / 314.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 6.86e-05/0.004318, allocations: 95.25 kB / 375.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.004489, allocations: 126.8 kB / 375.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004491, allocations: 11.94 kB / 375.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.004531, allocations: 97.09 kB / 375.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.004667, allocations: 4 kB / 375.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.004852, allocations: 160.2 kB / 375.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.004888, allocations: 59.34 kB / 375.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.004909, allocations: 12.5 kB / 375.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 4.6e-07/0.00491, allocations: 0 / 375.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.001263/0.006172, allocations: 0.5405 MB / 376.1 MB, free: 14.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.76196485478431]