Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009704/0.0009704, allocations: 88.22 kB / 20.95 MB, free: 3.598 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.0009387/0.0009387, allocations: 169 kB / 24.26 MB, free: 296 kB / 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.8108/0.8108, allocations: 158.6 MB / 186.1 MB, free: 2.52 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.03958/0.03958, allocations: 10.66 MB / 249 MB, free: 4.5 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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 320.2 MB, free: 39.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.187e-05, allocations: 2.859 kB / 320.2 MB, free: 39.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001057/0.001069, allocations: 0.7377 MB / 321 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.001172, allocations: 19.92 kB / 321 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.001197, allocations: 0 / 321 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.001215, allocations: 3.984 kB / 321 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.001242, allocations: 0 / 321 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.237e-05/0.001325, allocations: 11.98 kB / 321 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.001385, allocations: 15.98 kB / 321 MB, free: 39.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.001435, allocations: 11.38 kB / 321 MB, free: 39.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.001457, allocations: 8 kB / 321 MB, free: 39.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.001492, allocations: 7.984 kB / 321 MB, free: 39.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.001502, allocations: 3.938 kB / 321 MB, free: 39.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.001508, allocations: 7.938 kB / 321 MB, free: 39.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.001517, allocations: 0 / 321 MB, free: 39.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.885e-05/0.001536, allocations: 4 kB / 321 MB, free: 39.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.606e-05/0.001582, allocations: 15.98 kB / 321.1 MB, free: 39.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.001584, allocations: 0 / 321.1 MB, free: 39.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001584, allocations: 0 / 321.1 MB, free: 39.1 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.001587, allocations: 0 / 321.1 MB, free: 39.1 MB / 282.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.0001723/0.001759, allocations: 374.1 kB / 321.4 MB, free: 38.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.46e-05/0.001784, allocations: 8.031 kB / 321.4 MB, free: 38.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.001811, allocations: 11.34 kB / 321.4 MB, free: 38.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.575e-05/0.001847, allocations: 108.6 kB / 321.6 MB, free: 38.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.001856, allocations: 4.359 kB / 321.6 MB, free: 38.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.001862, allocations: 4.375 kB / 321.6 MB, free: 38.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.141e-05/0.001934, allocations: 67.95 kB / 321.6 MB, free: 38.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.00194, allocations: 192 / 321.6 MB, free: 38.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.001946, allocations: 384 / 321.6 MB, free: 38.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.001952, allocations: 384 / 321.6 MB, free: 38.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.001972, allocations: 41.58 kB / 321.7 MB, free: 38.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.002171, allocations: 255.8 kB / 321.9 MB, free: 38.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.002203, allocations: 64.78 kB / 322 MB, free: 38.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.002224, allocations: 45.45 kB / 322 MB, free: 37.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.002229, allocations: 3.938 kB / 322 MB, free: 37.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.002244, allocations: 41.33 kB / 322.1 MB, free: 37.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.002245, allocations: 0 / 322.1 MB, free: 37.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.002362, allocations: 138.7 kB / 322.2 MB, free: 37.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.00238, allocations: 85.11 kB / 322.3 MB, free: 37.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.199e-05/0.002392, allocations: 146.4 kB / 322.4 MB, free: 37.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.002398, allocations: 25.7 kB / 322.5 MB, free: 37.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.00241, allocations: 126.9 kB / 322.6 MB, free: 37.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.002421, allocations: 8.297 kB / 322.6 MB, free: 37.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.00244, allocations: 15.38 kB / 322.6 MB, free: 37.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.002473, allocations: 0.4923 MB / 323.1 MB, free: 36.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.002487, allocations: 29.7 kB / 323.1 MB, free: 36.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.002499, allocations: 33.7 kB / 323.2 MB, free: 36.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.002542, allocations: 83.02 kB / 323.2 MB, free: 36.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.002543, allocations: 0 / 323.2 MB, free: 36.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.767e-05/0.002591, allocations: 109.2 kB / 323.3 MB, free: 36.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.002605, allocations: 29.7 kB / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.002607, allocations: 0 / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.002616, allocations: 3.938 kB / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.002641, allocations: 4 kB / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.002644, allocations: 0 / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.002664, allocations: 0 / 323.4 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.002671, allocations: 7.984 kB / 323.4 MB, free: 36.47 MB / 282.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 3.324e-05/0.002704, allocations: 182.3 kB / 323.6 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.002718, allocations: 7.953 kB / 323.6 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.002728, allocations: 7.188 kB / 323.6 MB, free: 36.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00273, allocations: 7.938 kB / 323.6 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.002732, allocations: 3.938 kB / 323.6 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.002734, allocations: 0 / 323.6 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.692e-05/0.002791, allocations: 112.6 kB / 323.7 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.002792, allocations: 4 kB / 323.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-06/0.002796, allocations: 0 / 323.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.62e-07/0.002797, allocations: 0 / 323.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.002803, allocations: 0 / 323.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.002803, allocations: 0 / 323.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.002805, allocations: 11.94 kB / 323.7 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.003004, allocations: 1.475 MB / 325.2 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.003007, allocations: 0 / 325.2 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.003016, allocations: 4 kB / 325.2 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.003048, allocations: 0 / 325.2 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.003076, allocations: 3.984 kB / 325.2 MB, free: 34.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.00308, allocations: 4 kB / 325.2 MB, free: 34.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.067e-05/0.003091, allocations: 119.2 kB / 325.3 MB, free: 34.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003091, allocations: 0 / 325.3 MB, free: 34.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.003297, allocations: 8 kB / 325.3 MB, free: 34.38 MB / 282.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 4.682e-05/0.003344, allocations: 99.28 kB / 325.4 MB, free: 34.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.003424, allocations: 142.4 kB / 325.6 MB, free: 34.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.003425, allocations: 4 kB / 325.6 MB, free: 34.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.003458, allocations: 100.8 kB / 325.7 MB, free: 33.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.003581, allocations: 4 kB / 325.7 MB, free: 33.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.003736, allocations: 286.3 kB / 326 MB, free: 33.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.98e-05/0.003756, allocations: 59.34 kB / 326 MB, free: 33.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.822e-06/0.003763, allocations: 0 / 326 MB, free: 33.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.003775, allocations: 12.62 kB / 326 MB, free: 33.56 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.003775, allocations: 0 / 326 MB, free: 33.56 MB / 282.7 MB Notification: Performance of Templates: time 0.001659/0.005434, allocations: 0.6256 MB / 326.6 MB, free: 32.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6382933610584587]