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.00174/0.00174, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001476/0.001476, allocations: 212.2 kB / 23.01 MB, free: 5.125 MB / 14.72 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 1.396/1.396, allocations: 207.6 MB / 233.8 MB, free: 9.961 MB / 190.1 MB " [Timeout remaining time 178] 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.07221/0.07221, allocations: 14.4 MB / 300.4 MB, free: 7.422 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.89 kB / 424.2 MB, free: 36.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08494, allocations: 52.91 MB / 477.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00214/0.08708, allocations: 0.7133 MB / 477.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.08726, allocations: 23.95 kB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.0873, allocations: 3.938 kB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.08734, allocations: 3.938 kB / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.08739, allocations: 0 / 477.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.08755, allocations: 15.98 kB / 477.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.08765, allocations: 12 kB / 477.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.08773, allocations: 7.984 kB / 477.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.08776, allocations: 8 kB / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.08782, allocations: 0 / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.08784, allocations: 4 kB / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.08784, allocations: 0 / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.08786, allocations: 0 / 477.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.0879, allocations: 23.86 kB / 478 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.049e-05/0.08798, allocations: 15.97 kB / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.08799, allocations: 4 kB / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08799, allocations: 0 / 478 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.08799, allocations: 0 / 478 MB, free: 14.57 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.000359/0.08835, allocations: 272.1 kB / 478.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.08839, allocations: 8.031 kB / 478.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.08843, allocations: 4.938 kB / 478.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.08852, allocations: 102.5 kB / 478.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.08854, allocations: 4.312 kB / 478.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.08855, allocations: 12.38 kB / 478.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.0887, allocations: 50.23 kB / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.08871, allocations: 192 / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.08873, allocations: 3.938 kB / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.08873, allocations: 0 / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.08877, allocations: 11.88 kB / 478.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.08923, allocations: 220 kB / 478.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.08929, allocations: 26.52 kB / 478.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.08933, allocations: 20.92 kB / 478.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.08933, allocations: 0 / 478.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.08937, allocations: 34.55 kB / 478.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.08937, allocations: 0 / 478.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002189/0.08959, allocations: 87.33 kB / 478.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.08964, allocations: 77.11 kB / 478.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.08969, allocations: 89.86 kB / 479 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.08972, allocations: 33.83 kB / 479 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.08977, allocations: 84.09 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.08978, allocations: 7.953 kB / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.08982, allocations: 13.72 kB / 479.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.08998, allocations: 314.8 kB / 479.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.09, allocations: 8 kB / 479.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.09002, allocations: 8 kB / 479.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.09011, allocations: 88.25 kB / 479.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.09011, allocations: 0 / 479.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.09025, allocations: 75.34 kB / 479.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.09029, allocations: 37.69 kB / 479.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.09029, allocations: 0 / 479.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.09031, allocations: 0 / 479.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.09035, allocations: 4 kB / 479.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.09035, allocations: 3.984 kB / 479.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.0904, allocations: 0 / 479.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.09041, allocations: 4 kB / 479.7 MB, free: 12.66 MB / 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.812e-05/0.09051, allocations: 139.6 kB / 479.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.09054, allocations: 7.938 kB / 479.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.09056, allocations: 11.11 kB / 479.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.09056, allocations: 0 / 479.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.09057, allocations: 0 / 479.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.09057, allocations: 0 / 479.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.09072, allocations: 124.7 kB / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.09072, allocations: 0 / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.09074, allocations: 4 kB / 479.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.09074, allocations: 15.81 kB / 479.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.09075, allocations: 3.984 kB / 480 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.09075, allocations: 0 / 480 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09075, allocations: 0 / 480 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.09092, allocations: 185.2 kB / 480.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.09093, allocations: 3.938 kB / 480.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.09095, allocations: 4 kB / 480.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.09103, allocations: 4 kB / 480.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.09107, allocations: 12.02 kB / 480.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.09107, allocations: 4 kB / 480.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.09112, allocations: 75.28 kB / 480.2 MB, free: 12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09112, allocations: 0 / 480.2 MB, free: 12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.09134, allocations: 4 kB / 480.2 MB, free: 11.99 MB / 350.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 0.0001017/0.09144, allocations: 95.25 kB / 480.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.09158, allocations: 79.33 kB / 480.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09158, allocations: 4.062 kB / 480.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.09164, allocations: 67.41 kB / 480.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.09185, allocations: 7.922 kB / 480.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.09211, allocations: 114.8 kB / 480.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.09248, allocations: 0.6768 MB / 481.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.0925, allocations: 7.438 kB / 481.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.0925, allocations: 0 / 481.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Templates: time 0.002117/0.09462, allocations: 0.5288 MB / 481.8 MB, free: 10.32 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/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: 6.851192065980285]