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.001382/0.001382, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00152/0.00152, allocations: 220.4 kB / 23 MB, free: 4.914 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.483/1.483, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.07043/0.07043, allocations: 14.39 MB / 300.5 MB, free: 7.254 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.002336/0.002336, allocations: 76.5 kB / 424.2 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08801, allocations: 52.9 MB / 477.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002096/0.09011, allocations: 0.7094 MB / 477.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.0903, allocations: 27.91 kB / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.09033, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.09036, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.09041, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.09055, allocations: 11.92 kB / 477.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.09065, allocations: 19.98 kB / 477.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.09074, allocations: 8 kB / 477.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.09077, allocations: 4 kB / 477.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.09083, allocations: 11.92 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.09084, allocations: 8 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.09085, allocations: 0 / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.09086, allocations: 0 / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.09089, allocations: 4 kB / 477.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.988e-05/0.09097, allocations: 23.89 kB / 477.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09098, allocations: 0 / 477.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.09098, allocations: 0 / 477.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.09098, allocations: 0 / 477.9 MB, free: 14.42 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.0003444/0.09133, allocations: 272.1 kB / 478.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.09136, allocations: 8.031 kB / 478.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.0914, allocations: 8.938 kB / 478.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/0.09149, allocations: 102.5 kB / 478.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.09151, allocations: 4.312 kB / 478.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.09152, allocations: 8.375 kB / 478.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.09166, allocations: 71.89 kB / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.09166, allocations: 192 / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.09168, allocations: 3.938 kB / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.09168, allocations: 0 / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.09173, allocations: 41.69 kB / 478.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.09215, allocations: 188.6 kB / 478.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.09223, allocations: 60.22 kB / 478.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.09229, allocations: 42.61 kB / 478.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.0923, allocations: 7.938 kB / 478.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.09233, allocations: 30.56 kB / 478.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.09233, allocations: 0 / 478.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002609/0.09259, allocations: 138.8 kB / 478.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.09266, allocations: 77.11 kB / 479 MB, free: 13.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.09271, allocations: 93.86 kB / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.09273, allocations: 29.7 kB / 479.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.09279, allocations: 84.22 kB / 479.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.09281, allocations: 11.94 kB / 479.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.09284, allocations: 13.72 kB / 479.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.09301, allocations: 318.8 kB / 479.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.09304, allocations: 33.69 kB / 479.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.09309, allocations: 37.7 kB / 479.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.09317, allocations: 72.27 kB / 479.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09317, allocations: 0 / 479.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.09331, allocations: 109 kB / 479.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.09335, allocations: 37.69 kB / 479.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09335, allocations: 8.031 kB / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.09336, allocations: 0 / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/0.0934, allocations: 4 kB / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.09341, allocations: 0 / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.09345, allocations: 7.938 kB / 479.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.09346, allocations: 0 / 479.8 MB, free: 12.26 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 0.0001058/0.09357, allocations: 139.5 kB / 480 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.09359, allocations: 7.938 kB / 480 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.09361, allocations: 7.109 kB / 480 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.09362, allocations: 0 / 480 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.09362, allocations: 4 kB / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.09363, allocations: 7.984 kB / 480 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.09375, allocations: 101.3 kB / 480.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09375, allocations: 0 / 480.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.09376, allocations: 3.984 kB / 480.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.09377, allocations: 7.875 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.09378, allocations: 4 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.09378, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.09378, allocations: 3.984 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.09397, allocations: 203 kB / 480.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.09398, allocations: 7.969 kB / 480.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.09399, allocations: 3.938 kB / 480.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.09407, allocations: 11.92 kB / 480.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.0941, allocations: 0 / 480.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.09411, allocations: 4 kB / 480.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.09416, allocations: 75.28 kB / 480.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09416, allocations: 0 / 480.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.09438, allocations: 4 kB / 480.4 MB, free: 11.59 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.0001137/0.09449, allocations: 99.25 kB / 480.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.09468, allocations: 138.8 kB / 480.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.09468, allocations: 0 / 480.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.09476, allocations: 89.11 kB / 480.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.09496, allocations: 4 kB / 480.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.09526, allocations: 152.3 kB / 480.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.091e-05/0.09533, allocations: 59.34 kB / 480.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.09534, allocations: 7.438 kB / 481 MB, free: 10.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09534, allocations: 3.938 kB / 481 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Templates: time 0.002229/0.09757, allocations: 0.5381 MB / 481.5 MB, free: 10.4 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.8791379812173545]