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.0009738/0.0009738, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009432/0.0009432, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.832/0.832, allocations: 158.6 MB / 185.3 MB, free: 2.93 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.04112/0.04112, allocations: 10.65 MB / 248.2 MB, free: 4.531 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_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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 319.5 MB, free: 39.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.714e-05, allocations: 2.312 kB / 319.5 MB, free: 39.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001576/0.001603, allocations: 0.7392 MB / 320.2 MB, free: 39.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000168/0.001771, allocations: 19.91 kB / 320.2 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.001807, allocations: 4 kB / 320.2 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.001833, allocations: 0 / 320.2 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.001879, allocations: 3.938 kB / 320.2 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.002015, allocations: 4 kB / 320.2 MB, free: 39.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.474e-05/0.00211, allocations: 23.98 kB / 320.2 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002212, allocations: 11.36 kB / 320.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.002247, allocations: 11.98 kB / 320.3 MB, free: 39.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.002311, allocations: 0 / 320.3 MB, free: 39.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.002329, allocations: 4 kB / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.002337, allocations: 3.938 kB / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.002352, allocations: 0 / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.002382, allocations: 11.98 kB / 320.3 MB, free: 39.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.002461, allocations: 8 kB / 320.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002464, allocations: 3.984 kB / 320.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002465, allocations: 0 / 320.3 MB, free: 39.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.002468, allocations: 4 kB / 320.3 MB, free: 39.11 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.0002292/0.002697, allocations: 366.1 kB / 320.7 MB, free: 38.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.002733, allocations: 8.031 kB / 320.7 MB, free: 38.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.002775, allocations: 11.33 kB / 320.7 MB, free: 38.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.525e-05/0.002821, allocations: 108.6 kB / 320.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.002832, allocations: 384 / 320.8 MB, free: 38.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.002842, allocations: 12.31 kB / 320.8 MB, free: 38.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.002942, allocations: 63.95 kB / 320.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.002949, allocations: 192 / 320.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.002959, allocations: 384 / 320.9 MB, free: 38.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.002967, allocations: 4.375 kB / 320.9 MB, free: 38.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.002996, allocations: 45.62 kB / 320.9 MB, free: 38.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.003303, allocations: 243.8 kB / 321.2 MB, free: 38.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.284e-05/0.003356, allocations: 68.73 kB / 321.2 MB, free: 38.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.003389, allocations: 37.45 kB / 321.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.003398, allocations: 4 kB / 321.3 MB, free: 38.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003418, allocations: 37.33 kB / 321.3 MB, free: 37.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.00342, allocations: 0 / 321.3 MB, free: 37.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.003602, allocations: 146.7 kB / 321.4 MB, free: 37.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.003628, allocations: 77.11 kB / 321.5 MB, free: 37.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.796e-05/0.003646, allocations: 146.4 kB / 321.7 MB, free: 37.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.003652, allocations: 29.64 kB / 321.7 MB, free: 37.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.00367, allocations: 126.9 kB / 321.8 MB, free: 37.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.003689, allocations: 12.3 kB / 321.8 MB, free: 37.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.00372, allocations: 23.36 kB / 321.8 MB, free: 37.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.003763, allocations: 492.1 kB / 322.3 MB, free: 36.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.003784, allocations: 33.7 kB / 322.4 MB, free: 36.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.003803, allocations: 38.56 kB / 322.4 MB, free: 36.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.003855, allocations: 71.09 kB / 322.5 MB, free: 36.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003857, allocations: 4.062 kB / 322.5 MB, free: 36.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.104e-05/0.003928, allocations: 109.1 kB / 322.6 MB, free: 36.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.003948, allocations: 29.7 kB / 322.6 MB, free: 36.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.003952, allocations: 0 / 322.6 MB, free: 36.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.003965, allocations: 3.938 kB / 322.6 MB, free: 36.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.004004, allocations: 7.938 kB / 322.6 MB, free: 36.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.004014, allocations: 7.984 kB / 322.6 MB, free: 36.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.004045, allocations: 0 / 322.6 MB, free: 36.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.004053, allocations: 4 kB / 322.6 MB, free: 36.49 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 4.282e-05/0.004096, allocations: 182.3 kB / 322.8 MB, free: 36.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.004118, allocations: 11.98 kB / 322.8 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.004132, allocations: 7.156 kB / 322.8 MB, free: 36.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.004134, allocations: 3.938 kB / 322.8 MB, free: 36.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004138, allocations: 3.984 kB / 322.8 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.004141, allocations: 3.984 kB / 322.8 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.084e-05/0.004222, allocations: 112.6 kB / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004223, allocations: 0 / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.004228, allocations: 0 / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.00423, allocations: 0 / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.004237, allocations: 4 kB / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004238, allocations: 0 / 322.9 MB, free: 36.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.00424, allocations: 7.938 kB / 323 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.335e-05/0.004333, allocations: 259.3 kB / 323.2 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-06/0.004337, allocations: 3.938 kB / 323.2 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.004348, allocations: 4 kB / 323.2 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.004398, allocations: 0 / 323.2 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.004444, allocations: 15.92 kB / 323.2 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.004447, allocations: 0 / 323.2 MB, free: 35.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.271e-05/0.00446, allocations: 119.2 kB / 323.3 MB, free: 35.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00446, allocations: 0 / 323.3 MB, free: 35.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000212/0.004672, allocations: 4 kB / 323.4 MB, free: 35.68 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 7.16e-05/0.004744, allocations: 99.28 kB / 323.5 MB, free: 35.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.004862, allocations: 138.5 kB / 323.6 MB, free: 35.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.004863, allocations: 0 / 323.6 MB, free: 35.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.004902, allocations: 104.7 kB / 323.7 MB, free: 35.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.005104, allocations: 4 kB / 323.7 MB, free: 35.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.005301, allocations: 132.2 kB / 323.8 MB, free: 35.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.005328, allocations: 55.36 kB / 323.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.012e-05/0.005338, allocations: 0 / 323.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.005355, allocations: 12.62 kB / 323.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005355, allocations: 0 / 323.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of Templates: time 0.00217/0.007525, allocations: 0.632 MB / 324.5 MB, free: 34.45 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_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.839212988037616]