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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.425/1.425, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.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.06863/0.06863, allocations: 14.4 MB / 296.7 MB, free: 1.902 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.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=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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 71.89 kB / 418.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2239, allocations: 52.87 MB / 471.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001936/0.2259, allocations: 0.6929 MB / 472.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.226, allocations: 30.89 kB / 472.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.2261, allocations: 0 / 472.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.2261, allocations: 5.156 kB / 472.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2261, allocations: 3.938 kB / 472.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.2263, allocations: 6.281 kB / 472.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.2263, allocations: 18.8 kB / 472.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.2264, allocations: 6.312 kB / 472.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.2264, allocations: 11.44 kB / 472.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.2265, allocations: 6.281 kB / 472.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2265, allocations: 1.125 kB / 472.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.2265, allocations: 2.125 kB / 472.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.2265, allocations: 0.875 kB / 472.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.2266, allocations: 15.14 kB / 472.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.981e-05/0.2266, allocations: 11.3 kB / 472.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2266, allocations: 0 / 472.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2266, allocations: 0.9062 kB / 472.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2266, allocations: 0 / 472.4 MB, free: 12.31 MB / 334.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.0003675/0.227, allocations: 346.6 kB / 472.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.227, allocations: 9.281 kB / 472.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.2271, allocations: 2.594 kB / 472.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2272, allocations: 165.8 kB / 472.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2272, allocations: 9.625 kB / 472.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.2272, allocations: 2.188 kB / 472.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.2274, allocations: 45.42 kB / 472.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2274, allocations: 192 / 472.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2274, allocations: 5.188 kB / 472.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.2274, allocations: 0 / 472.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.2274, allocations: 9.281 kB / 473 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.2278, allocations: 247.2 kB / 473.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.2279, allocations: 40.91 kB / 473.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.2279, allocations: 13.3 kB / 473.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.2279, allocations: 5.312 kB / 473.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.228, allocations: 35.77 kB / 473.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.228, allocations: 0 / 473.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002209/0.2282, allocations: 84.83 kB / 473.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2282, allocations: 86.48 kB / 473.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.2283, allocations: 89.86 kB / 473.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2283, allocations: 26.73 kB / 473.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.2284, allocations: 85.06 kB / 473.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2284, allocations: 5.047 kB / 473.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2284, allocations: 13.09 kB / 473.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2285, allocations: 323.8 kB / 474 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.2286, allocations: 4.5 kB / 474 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.2286, allocations: 12.47 kB / 474 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.2287, allocations: 78.31 kB / 474.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2287, allocations: 0 / 474.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.2288, allocations: 82.66 kB / 474.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.2288, allocations: 35.16 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2288, allocations: 1.031 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2288, allocations: 4 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.2289, allocations: 1.219 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2289, allocations: 0.9375 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.2289, allocations: 6.469 kB / 474.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2289, allocations: 1.031 kB / 474.2 MB, free: 10.34 MB / 334.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.0001048/0.229, allocations: 142.8 kB / 474.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.2291, allocations: 6.062 kB / 474.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.2291, allocations: 3.125 kB / 474.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2291, allocations: 1.094 kB / 474.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2291, allocations: 0 / 474.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2291, allocations: 1.25 kB / 474.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2292, allocations: 155.7 kB / 474.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2292, allocations: 5.031 kB / 474.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.2293, allocations: 1.031 kB / 474.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2293, allocations: 5.297 kB / 474.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2293, allocations: 0 / 474.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2293, allocations: 1.188 kB / 474.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2293, allocations: 0 / 474.5 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.2294, allocations: 187.1 kB / 474.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2295, allocations: 83.11 kB / 474.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2295, allocations: 2.125 kB / 474.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.2296, allocations: 6.031 kB / 474.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.2296, allocations: 9.078 kB / 474.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2296, allocations: 1.438 kB / 474.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.2296, allocations: 75.28 kB / 474.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2296, allocations: 1.281 kB / 474.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2298, allocations: 5.312 kB / 474.9 MB, free: 9.598 MB / 334.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.0001069/0.2299, allocations: 104.2 kB / 475 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.2301, allocations: 77.17 kB / 475.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2301, allocations: 0 / 475.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.2301, allocations: 71.55 kB / 475.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2304, allocations: 7.062 kB / 475.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.2306, allocations: 122.3 kB / 475.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2309, allocations: 0.6715 MB / 475.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.2309, allocations: 8.688 kB / 475.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2309, allocations: 4.125 kB / 475.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Templates: time 0.002054/0.2329, allocations: 0.5389 MB / 476.5 MB, free: 8.141 MB / 334.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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.602013390045613]