Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.001156/0.001156, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001351/0.001351, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8742/0.8742, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04403/0.04403, allocations: 12.52 MB / 272.5 MB, free: 1.137 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 406 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.403e-05, allocations: 12.47 kB / 406 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001561/0.001595, allocations: 0.7055 MB / 406.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000217/0.001812, allocations: 23.95 kB / 406.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.001853, allocations: 7.938 kB / 406.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.001888, allocations: 4 kB / 406.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.001942, allocations: 0 / 406.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.002105, allocations: 15.86 kB / 406.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.002213, allocations: 12 kB / 406.7 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.002325, allocations: 11.98 kB / 406.8 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.002365, allocations: 8 kB / 406.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.002428, allocations: 3.984 kB / 406.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.002446, allocations: 4 kB / 406.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.002456, allocations: 0 / 406.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.002477, allocations: 0 / 406.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.002512, allocations: 11.98 kB / 406.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.002598, allocations: 23.91 kB / 406.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002601, allocations: 0 / 406.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.002602, allocations: 0 / 406.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.002606, allocations: 0 / 406.8 MB, free: 5.941 MB / 330.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.0003004/0.002906, allocations: 272.1 kB / 407.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.002944, allocations: 8.031 kB / 407.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.002992, allocations: 8.875 kB / 407.1 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.003059, allocations: 101.8 kB / 407.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.003072, allocations: 384 / 407.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003083, allocations: 4.375 kB / 407.2 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.00321, allocations: 75.95 kB / 407.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.003221, allocations: 192 / 407.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.003232, allocations: 384 / 407.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003236, allocations: 384 / 407.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.003275, allocations: 45.62 kB / 407.3 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.003651, allocations: 192.6 kB / 407.5 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.003711, allocations: 52.28 kB / 407.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.003749, allocations: 46.61 kB / 407.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.003758, allocations: 3.984 kB / 407.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.003783, allocations: 34.56 kB / 407.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.003784, allocations: 0 / 407.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.003993, allocations: 146.7 kB / 407.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.004036, allocations: 77.11 kB / 407.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.778e-05/0.004063, allocations: 89.86 kB / 407.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.004077, allocations: 29.7 kB / 408 MB, free: 4.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.004104, allocations: 80.14 kB / 408 MB, free: 4.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.004125, allocations: 11.88 kB / 408.1 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.004155, allocations: 17.72 kB / 408.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.004244, allocations: 310.8 kB / 408.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.00427, allocations: 33.83 kB / 408.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.004292, allocations: 45.69 kB / 408.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.004341, allocations: 72.27 kB / 408.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004343, allocations: 0 / 408.5 MB, free: 3.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.421e-05/0.004417, allocations: 109 kB / 408.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.004445, allocations: 37.64 kB / 408.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.004449, allocations: 0 / 408.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.004465, allocations: 7.922 kB / 408.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.004507, allocations: 0 / 408.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.004512, allocations: 0 / 408.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.004548, allocations: 8.094 kB / 408.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.004556, allocations: 0 / 408.7 MB, free: 3.785 MB / 330.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 6.343e-05/0.004619, allocations: 143.5 kB / 408.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.004631, allocations: 7.953 kB / 408.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.004651, allocations: 11.09 kB / 408.8 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.004654, allocations: 3.938 kB / 408.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.004659, allocations: 4 kB / 408.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004661, allocations: 0 / 408.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.777e-05/0.004739, allocations: 97.33 kB / 408.9 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00474, allocations: 3.938 kB / 409 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.004745, allocations: 4 kB / 409 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004746, allocations: 0 / 409 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.004753, allocations: 7.984 kB / 409 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004754, allocations: 0 / 409 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004755, allocations: 3.938 kB / 409 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.004873, allocations: 206.9 kB / 409.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.004876, allocations: 0 / 409.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.004885, allocations: 0 / 409.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.004924, allocations: 4 kB / 409.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.00497, allocations: 11.92 kB / 409.2 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.004975, allocations: 8.031 kB / 409.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.004996, allocations: 75.28 kB / 409.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004996, allocations: 0 / 409.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.005131, allocations: 4 kB / 409.3 MB, free: 3.125 MB / 330.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.656e-05/0.005208, allocations: 95.78 kB / 409.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.005342, allocations: 134.7 kB / 409.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005343, allocations: 0 / 409.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.005385, allocations: 93.09 kB / 409.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.005522, allocations: 4.125 kB / 409.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.005745, allocations: 160.2 kB / 409.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.598e-05/0.005791, allocations: 63.34 kB / 409.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.005811, allocations: 12.44 kB / 409.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005811, allocations: 0 / 409.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of Templates: time 0.001503/0.007314, allocations: 0.5343 MB / 410.4 MB, free: 1.934 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_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_dev_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.517288618721068]