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.001933/0.001933, allocations: 88.22 kB / 20.22 MB, free: 4.215 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.002485/0.002485, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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 1.429/1.429, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 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.06963/0.06963, allocations: 10.65 MB / 248.3 MB, free: 4.523 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 1.814e-06/1.814e-06, allocations: 0 / 319.5 MB, free: 39.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.016e-05, allocations: 10.2 kB / 319.5 MB, free: 39.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001765/0.001795, allocations: 0.7091 MB / 320.2 MB, free: 39.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.001979, allocations: 23.86 kB / 320.2 MB, free: 39.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.002015, allocations: 7.938 kB / 320.2 MB, free: 39.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.002043, allocations: 4 kB / 320.2 MB, free: 39.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.002093, allocations: 3.984 kB / 320.2 MB, free: 39.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.002253, allocations: 4 kB / 320.2 MB, free: 39.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.002342, allocations: 19.98 kB / 320.3 MB, free: 39.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.002429, allocations: 4 kB / 320.3 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.002463, allocations: 8 kB / 320.3 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.002524, allocations: 7.969 kB / 320.3 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.002541, allocations: 4 kB / 320.3 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.00255, allocations: 0 / 320.3 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.002567, allocations: 4 kB / 320.3 MB, free: 39.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.002601, allocations: 11.94 kB / 320.3 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.002675, allocations: 19.91 kB / 320.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.002677, allocations: 0 / 320.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002678, allocations: 0 / 320.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.002682, allocations: 0 / 320.3 MB, free: 39.16 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.0002719/0.002954, allocations: 268.2 kB / 320.6 MB, free: 38.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.002994, allocations: 8.031 kB / 320.6 MB, free: 38.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.003044, allocations: 4.938 kB / 320.6 MB, free: 38.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.823e-05/0.003092, allocations: 101.8 kB / 320.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.003107, allocations: 4.375 kB / 320.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.003116, allocations: 4.375 kB / 320.7 MB, free: 38.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.003244, allocations: 75.94 kB / 320.8 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.003253, allocations: 192 / 320.8 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003263, allocations: 384 / 320.8 MB, free: 38.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.003267, allocations: 4.375 kB / 320.8 MB, free: 38.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.003304, allocations: 41.58 kB / 320.8 MB, free: 38.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.003674, allocations: 198.3 kB / 321 MB, free: 38.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.003737, allocations: 48.28 kB / 321.1 MB, free: 38.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.003779, allocations: 46.61 kB / 321.1 MB, free: 38.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.003791, allocations: 7.984 kB / 321.1 MB, free: 38.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.00381, allocations: 30.56 kB / 321.1 MB, free: 38.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003811, allocations: 0 / 321.1 MB, free: 38.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.00405, allocations: 150.7 kB / 321.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.004097, allocations: 81.09 kB / 321.4 MB, free: 37.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.974e-05/0.004117, allocations: 89.86 kB / 321.5 MB, free: 37.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.004127, allocations: 25.7 kB / 321.5 MB, free: 37.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.004146, allocations: 88.08 kB / 321.6 MB, free: 37.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.004166, allocations: 7.953 kB / 321.6 MB, free: 37.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.004194, allocations: 13.72 kB / 321.6 MB, free: 37.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.004251, allocations: 318.9 kB / 321.9 MB, free: 37.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.004279, allocations: 37.69 kB / 321.9 MB, free: 37.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.004299, allocations: 33.7 kB / 322 MB, free: 37.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.004355, allocations: 84.19 kB / 322.1 MB, free: 37.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004357, allocations: 0 / 322.1 MB, free: 37.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.239e-05/0.004439, allocations: 105.1 kB / 322.2 MB, free: 37.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.004463, allocations: 33.7 kB / 322.2 MB, free: 37.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.004468, allocations: 0 / 322.2 MB, free: 37.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.00449, allocations: 3.938 kB / 322.2 MB, free: 37.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.004533, allocations: 4.094 kB / 322.2 MB, free: 37.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.004538, allocations: 1.016 kB / 322.2 MB, free: 37.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.004586, allocations: 8 kB / 322.2 MB, free: 37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.004596, allocations: 0 / 322.2 MB, free: 37 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 5.709e-05/0.004653, allocations: 139.5 kB / 322.3 MB, free: 36.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.004679, allocations: 7.953 kB / 322.4 MB, free: 36.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.0047, allocations: 7.109 kB / 322.4 MB, free: 36.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.004703, allocations: 3.938 kB / 322.4 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.004707, allocations: 0 / 322.4 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.00471, allocations: 4 kB / 322.4 MB, free: 36.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.004807, allocations: 105.3 kB / 322.5 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004808, allocations: 0 / 322.5 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.004818, allocations: 7.938 kB / 322.5 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00482, allocations: 0 / 322.5 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.004828, allocations: 0 / 322.5 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.004829, allocations: 0 / 322.5 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.004831, allocations: 3.938 kB / 322.5 MB, free: 36.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.005188, allocations: 1.021 MB / 323.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.005194, allocations: 0 / 323.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.005208, allocations: 0 / 323.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.005282, allocations: 8.031 kB / 323.5 MB, free: 35.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.005338, allocations: 0 / 323.5 MB, free: 35.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.005343, allocations: 8 kB / 323.5 MB, free: 35.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.474e-05/0.005358, allocations: 79.27 kB / 323.6 MB, free: 35.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005358, allocations: 0 / 323.6 MB, free: 35.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.005701, allocations: 8 kB / 323.6 MB, free: 35.48 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 9.001e-05/0.005791, allocations: 95.25 kB / 323.7 MB, free: 35.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.00593, allocations: 138.7 kB / 323.8 MB, free: 35.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.005932, allocations: 3.938 kB / 323.8 MB, free: 35.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.005977, allocations: 97.16 kB / 323.9 MB, free: 35.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.006195, allocations: 4 kB / 323.9 MB, free: 35.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.006494, allocations: 228.3 kB / 324.2 MB, free: 34.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.006529, allocations: 59.34 kB / 324.2 MB, free: 34.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.006542, allocations: 0 / 324.2 MB, free: 34.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.006565, allocations: 12.5 kB / 324.2 MB, free: 34.74 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006565, allocations: 0 / 324.2 MB, free: 34.74 MB / 282.7 MB Notification: Performance of Templates: time 0.0029/0.009465, allocations: 0.6232 MB / 324.8 MB, free: 34.16 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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: 4.7199791700113565]