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.0007605/0.0007605, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0007574/0.0007574, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8177/0.8177, allocations: 177.2 MB / 202.8 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.04385/0.04385, allocations: 12.52 MB / 271.7 MB, free: 1.121 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.423e-06/1.423e-06, allocations: 0 / 405.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.121e-05, allocations: 2.281 kB / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001118/0.001139, allocations: 0.7171 MB / 405.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.001289, allocations: 23.91 kB / 406 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.001316, allocations: 4 kB / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.00134, allocations: 0 / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.00138, allocations: 3.938 kB / 406 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.00151, allocations: 15.92 kB / 406 MB, free: 6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.001593, allocations: 15.98 kB / 406 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.001672, allocations: 0 / 406 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.001705, allocations: 11.94 kB / 406 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.001763, allocations: 11.98 kB / 406 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.001776, allocations: 0 / 406 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.001783, allocations: 4 kB / 406 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.001798, allocations: 3.984 kB / 406 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.001823, allocations: 8 kB / 406 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.972e-05/0.001893, allocations: 19.97 kB / 406 MB, free: 5.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.001895, allocations: 3.938 kB / 406.1 MB, free: 5.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.001895, allocations: 0 / 406.1 MB, free: 5.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.001899, allocations: 0 / 406.1 MB, free: 5.922 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.0002296/0.002129, allocations: 268.2 kB / 406.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.00216, allocations: 8.031 kB / 406.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.002189, allocations: 0.9375 kB / 406.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.042e-05/0.002239, allocations: 105.8 kB / 406.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.002248, allocations: 384 / 406.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.002257, allocations: 4.375 kB / 406.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.002355, allocations: 75.89 kB / 406.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.002362, allocations: 192 / 406.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.002371, allocations: 4.312 kB / 406.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.002375, allocations: 384 / 406.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.002408, allocations: 45.62 kB / 406.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.002702, allocations: 188.6 kB / 406.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.002753, allocations: 56.22 kB / 406.8 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.002783, allocations: 42.61 kB / 406.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.002792, allocations: 0 / 406.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.002811, allocations: 42.56 kB / 406.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.002811, allocations: 0 / 406.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.002971, allocations: 142.7 kB / 407 MB, free: 4.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.003002, allocations: 77.11 kB / 407.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/0.003026, allocations: 89.86 kB / 407.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003034, allocations: 25.7 kB / 407.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.003056, allocations: 84.12 kB / 407.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.003075, allocations: 11.89 kB / 407.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.003099, allocations: 17.72 kB / 407.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.003166, allocations: 314.9 kB / 407.6 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.003189, allocations: 41.69 kB / 407.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.003206, allocations: 29.7 kB / 407.7 MB, free: 4.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.003251, allocations: 80.27 kB / 407.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003253, allocations: 0 / 407.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.396e-05/0.003317, allocations: 105.1 kB / 407.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.00334, allocations: 33.69 kB / 407.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.003344, allocations: 0 / 407.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.003355, allocations: 7.938 kB / 407.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.277e-05/0.003388, allocations: 0 / 407.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.003392, allocations: 4.094 kB / 407.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.003419, allocations: 7.938 kB / 407.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.003426, allocations: 0 / 407.9 MB, free: 3.773 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 5.037e-05/0.003477, allocations: 143.5 kB / 408.1 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.003488, allocations: 3.953 kB / 408.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.003502, allocations: 19.03 kB / 408.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.003506, allocations: 7.938 kB / 408.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.003509, allocations: 0 / 408.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003512, allocations: 0 / 408.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.837e-05/0.00358, allocations: 97.33 kB / 408.2 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.003582, allocations: 11.92 kB / 408.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-06/0.003586, allocations: 0 / 408.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.003588, allocations: 4 kB / 408.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.003594, allocations: 0 / 408.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.003596, allocations: 4 kB / 408.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.003597, allocations: 3.938 kB / 408.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.003688, allocations: 199 kB / 408.4 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.003692, allocations: 4 kB / 408.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.003699, allocations: 0 / 408.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.003735, allocations: 11.92 kB / 408.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.003771, allocations: 7.969 kB / 408.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.003773, allocations: 0 / 408.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.703e-05/0.00379, allocations: 75.28 kB / 408.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00379, allocations: 0 / 408.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.003925, allocations: 12 kB / 408.5 MB, free: 3.105 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 5.652e-05/0.003981, allocations: 95.78 kB / 408.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.004092, allocations: 134.8 kB / 408.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.004093, allocations: 0 / 408.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.00413, allocations: 89.11 kB / 408.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.004262, allocations: 8.125 kB / 408.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.004433, allocations: 134.4 kB / 409 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.004469, allocations: 59.34 kB / 409 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.398e-06/0.004479, allocations: 0 / 409 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.004493, allocations: 8.5 kB / 409 MB, free: 2.48 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.004494, allocations: 0 / 409 MB, free: 2.48 MB / 330.7 MB Notification: Performance of Templates: time 0.001853/0.006347, allocations: 0.6175 MB / 409.7 MB, free: 1.883 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=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] 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: 2.5774396238848567]