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.001388/0.001388, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001305/0.001305, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.8701/0.8701, allocations: 158.6 MB / 185.2 MB, free: 2.801 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.04257/0.04257, allocations: 10.65 MB / 248.2 MB, free: 4.293 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.924e-06/1.924e-06, allocations: 0 / 319.9 MB, free: 39.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.061e-05, allocations: 2.312 kB / 320 MB, free: 39.26 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002029/0.002059, allocations: 0.7403 MB / 320.7 MB, free: 38.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.002304, allocations: 23.91 kB / 320.7 MB, free: 38.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.002347, allocations: 0 / 320.7 MB, free: 38.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.002378, allocations: 4 kB / 320.7 MB, free: 38.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.002433, allocations: 3.938 kB / 320.7 MB, free: 38.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.002582, allocations: 11.98 kB / 320.7 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.002688, allocations: 19.92 kB / 320.8 MB, free: 38.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.002802, allocations: 11.38 kB / 320.8 MB, free: 38.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.002855, allocations: 11.98 kB / 320.8 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.002935, allocations: 0 / 320.8 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.002959, allocations: 4 kB / 320.8 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.002969, allocations: 0 / 320.8 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.002986, allocations: 0 / 320.8 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.003016, allocations: 4 kB / 320.8 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.003114, allocations: 15.98 kB / 320.8 MB, free: 38.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003117, allocations: 4 kB / 320.8 MB, free: 38.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.003118, allocations: 0 / 320.8 MB, free: 38.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.003123, allocations: 3.984 kB / 320.8 MB, free: 38.41 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.0002965/0.00342, allocations: 370.1 kB / 321.2 MB, free: 38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.003469, allocations: 8.031 kB / 321.2 MB, free: 37.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.003507, allocations: 7.344 kB / 321.2 MB, free: 37.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.592e-05/0.003563, allocations: 116.5 kB / 321.3 MB, free: 37.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.003576, allocations: 384 / 321.3 MB, free: 37.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.003586, allocations: 8.312 kB / 321.3 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003702, allocations: 63.95 kB / 321.4 MB, free: 37.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.00371, allocations: 192 / 321.4 MB, free: 37.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003718, allocations: 4.375 kB / 321.4 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003725, allocations: 384 / 321.4 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.003752, allocations: 45.62 kB / 321.4 MB, free: 37.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.004065, allocations: 220.4 kB / 321.6 MB, free: 37.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.004127, allocations: 68.73 kB / 321.7 MB, free: 37.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.004161, allocations: 41.45 kB / 321.7 MB, free: 37.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.004168, allocations: 0 / 321.7 MB, free: 37.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.004193, allocations: 33.39 kB / 321.8 MB, free: 37.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.004195, allocations: 0 / 321.8 MB, free: 37.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.004381, allocations: 142.7 kB / 321.9 MB, free: 37.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.004413, allocations: 89.05 kB / 322 MB, free: 37.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.229e-05/0.004435, allocations: 142.2 kB / 322.1 MB, free: 36.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004443, allocations: 25.7 kB / 322.2 MB, free: 36.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.004467, allocations: 130.9 kB / 322.3 MB, free: 36.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.004491, allocations: 4.297 kB / 322.3 MB, free: 36.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.004525, allocations: 19.38 kB / 322.3 MB, free: 36.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.004591, allocations: 0.4884 MB / 322.8 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.004615, allocations: 29.7 kB / 322.8 MB, free: 36.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.004633, allocations: 37.69 kB / 322.9 MB, free: 36.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.004687, allocations: 75.28 kB / 322.9 MB, free: 36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.00469, allocations: 6.438 kB / 322.9 MB, free: 36 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.312e-05/0.004783, allocations: 101.1 kB / 323 MB, free: 35.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.004814, allocations: 29.7 kB / 323.1 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.00482, allocations: 3.938 kB / 323.1 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.004837, allocations: 0 / 323.1 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.004878, allocations: 7.938 kB / 323.1 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.00488, allocations: 0 / 323.1 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.004932, allocations: 3.984 kB / 323.1 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.004941, allocations: 7.969 kB / 323.1 MB, free: 35.82 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.678e-05/0.004997, allocations: 182.3 kB / 323.3 MB, free: 35.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.005022, allocations: 7.953 kB / 323.3 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.005042, allocations: 3.156 kB / 323.3 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.005045, allocations: 4 kB / 323.3 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005047, allocations: 3.938 kB / 323.3 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005051, allocations: 0 / 323.3 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.005151, allocations: 97.25 kB / 323.4 MB, free: 35.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005152, allocations: 4 kB / 323.4 MB, free: 35.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.005166, allocations: 3.984 kB / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005169, allocations: 0 / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005174, allocations: 4 kB / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.005176, allocations: 0 / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005178, allocations: 4.562 kB / 323.4 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.005299, allocations: 259.2 kB / 323.7 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.005305, allocations: 3.984 kB / 323.7 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.005315, allocations: 0 / 323.7 MB, free: 35.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.005385, allocations: 4 kB / 323.7 MB, free: 35.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.005425, allocations: 5 kB / 323.7 MB, free: 35.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.00543, allocations: 0 / 323.7 MB, free: 35.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.005442, allocations: 123.1 kB / 323.8 MB, free: 35.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005443, allocations: 8.031 kB / 323.8 MB, free: 35.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.00566, allocations: 4 kB / 323.8 MB, free: 35.05 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.413e-05/0.005744, allocations: 103.2 kB / 323.9 MB, free: 34.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.005865, allocations: 134.5 kB / 324 MB, free: 34.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.005867, allocations: 0 / 324 MB, free: 34.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.005904, allocations: 100.7 kB / 324.1 MB, free: 34.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.006114, allocations: 4 kB / 324.1 MB, free: 34.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.006324, allocations: 129.2 kB / 324.3 MB, free: 34.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.006351, allocations: 55.48 kB / 324.3 MB, free: 34.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.238e-05/0.006364, allocations: 0 / 324.3 MB, free: 34.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.006414, allocations: 82.2 kB / 324.4 MB, free: 34.34 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.006415, allocations: 0 / 324.4 MB, free: 34.34 MB / 282.7 MB Notification: Performance of Templates: time 0.002771/0.009186, allocations: 0.6783 MB / 325.1 MB, free: 33.7 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.632126273587346]