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.001543/0.001543, allocations: 89.06 kB / 19.65 MB, free: 284 kB / 13.93 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.00191/0.00191, allocations: 165 kB / 23.01 MB, free: 1.559 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.9708/0.9708, allocations: 158.6 MB / 184.9 MB, free: 2.926 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.05287/0.05287, allocations: 10.64 MB / 247.9 MB, free: 4.469 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 2.705e-06/2.705e-06, allocations: 0 / 319.5 MB, free: 39.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.912e-05/4.183e-05, allocations: 2.312 kB / 319.5 MB, free: 39.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00194/0.001982, allocations: 0.7372 MB / 320.2 MB, free: 38.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.002215, allocations: 23.91 kB / 320.2 MB, free: 38.81 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.002253, allocations: 0 / 320.2 MB, free: 38.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.002291, allocations: 3.938 kB / 320.3 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.002358, allocations: 0 / 320.3 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.002537, allocations: 8 kB / 320.3 MB, free: 38.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.002633, allocations: 23.97 kB / 320.3 MB, free: 38.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.002732, allocations: 7.375 kB / 320.3 MB, free: 38.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.002779, allocations: 11.98 kB / 320.3 MB, free: 38.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.002842, allocations: 4 kB / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.002864, allocations: 0 / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.002874, allocations: 7.938 kB / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.002889, allocations: 0 / 320.3 MB, free: 38.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.002919, allocations: 4 kB / 320.3 MB, free: 38.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.003004, allocations: 11.98 kB / 320.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.003009, allocations: 0 / 320.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.003011, allocations: 0 / 320.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.003016, allocations: 4 kB / 320.3 MB, free: 38.73 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.0002519/0.003268, allocations: 370.1 kB / 320.7 MB, free: 38.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.003311, allocations: 12.03 kB / 320.7 MB, free: 38.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.003356, allocations: 3.344 kB / 320.7 MB, free: 38.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.09e-05/0.003397, allocations: 120.5 kB / 320.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003408, allocations: 384 / 320.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.003421, allocations: 4.375 kB / 320.8 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.003536, allocations: 67.95 kB / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003545, allocations: 192 / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.003558, allocations: 384 / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.003566, allocations: 384 / 320.9 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.003593, allocations: 45.62 kB / 320.9 MB, free: 38.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.003943, allocations: 247.8 kB / 321.2 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.003993, allocations: 68.73 kB / 321.3 MB, free: 37.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.004025, allocations: 41.45 kB / 321.3 MB, free: 37.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.004031, allocations: 0 / 321.3 MB, free: 37.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.004049, allocations: 37.33 kB / 321.3 MB, free: 37.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.00405, allocations: 0 / 321.3 MB, free: 37.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.004223, allocations: 150.7 kB / 321.5 MB, free: 37.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.004247, allocations: 77.11 kB / 321.6 MB, free: 37.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.742e-05/0.004264, allocations: 142.2 kB / 321.7 MB, free: 37.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.004271, allocations: 33.83 kB / 321.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.004288, allocations: 126.9 kB / 321.8 MB, free: 36.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.004307, allocations: 8.297 kB / 321.9 MB, free: 36.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.004331, allocations: 19.38 kB / 321.9 MB, free: 36.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.539e-05/0.004377, allocations: 496.1 kB / 322.4 MB, free: 36.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.004397, allocations: 37.7 kB / 322.4 MB, free: 36.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/0.00441, allocations: 29.7 kB / 322.4 MB, free: 36.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.004452, allocations: 79.08 kB / 322.5 MB, free: 36.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004454, allocations: 0 / 322.5 MB, free: 36.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.184e-05/0.004515, allocations: 113.1 kB / 322.6 MB, free: 36.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.004539, allocations: 33.7 kB / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.004545, allocations: 0 / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.00456, allocations: 3.938 kB / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.004608, allocations: 0 / 322.6 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.004613, allocations: 1.016 kB / 322.7 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.004644, allocations: 7.984 kB / 322.7 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.004652, allocations: 0 / 322.7 MB, free: 36.1 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.116e-05/0.004693, allocations: 182.3 kB / 322.8 MB, free: 35.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.004708, allocations: 11.95 kB / 322.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.004731, allocations: 7.188 kB / 322.9 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004733, allocations: 3.938 kB / 322.9 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.004737, allocations: 0 / 322.9 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004739, allocations: 0 / 322.9 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.272e-05/0.004802, allocations: 112.6 kB / 323 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.004803, allocations: 0 / 323 MB, free: 35.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-06/0.004809, allocations: 7.984 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.00481, allocations: 0 / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.004816, allocations: 0 / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.004817, allocations: 4 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.004819, allocations: 3.938 kB / 323 MB, free: 35.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/0.004901, allocations: 267.3 kB / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.004905, allocations: 3.938 kB / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.004915, allocations: 0 / 323.2 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.004948, allocations: 4 kB / 323.3 MB, free: 35.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.004993, allocations: 7.938 kB / 323.3 MB, free: 35.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004996, allocations: 0 / 323.3 MB, free: 35.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.466e-05/0.00501, allocations: 123.2 kB / 323.4 MB, free: 35.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00501, allocations: 4 kB / 323.4 MB, free: 35.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.005147, allocations: 4 kB / 323.4 MB, free: 35.29 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 8.094e-05/0.005227, allocations: 99.28 kB / 323.5 MB, free: 35.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.005346, allocations: 138.4 kB / 323.6 MB, free: 35.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005348, allocations: 0 / 323.6 MB, free: 35.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.005383, allocations: 104.8 kB / 323.7 MB, free: 34.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.005524, allocations: 0 / 323.7 MB, free: 34.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.005775, allocations: 138.8 kB / 323.9 MB, free: 34.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.058e-05/0.005806, allocations: 51.36 kB / 323.9 MB, free: 34.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.503e-05/0.005821, allocations: 0 / 323.9 MB, free: 34.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.005844, allocations: 12.5 kB / 323.9 MB, free: 34.64 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005845, allocations: 4.125 kB / 323.9 MB, free: 34.64 MB / 282.7 MB Notification: Performance of Templates: time 0.002195/0.00804, allocations: 0.6258 MB / 324.6 MB, free: 34.05 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: 3.3906222549267113]