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.001199/0.001199, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001004/0.001004, allocations: 181 kB / 23.36 MB, free: 1.133 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.9922/0.9922, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.07974/0.07974, allocations: 13.12 MB / 273.4 MB, free: 224 kB / 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.714e-06/1.714e-06, allocations: 0 / 296.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.754e-05, allocations: 4.391 kB / 296.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002358/0.002385, allocations: 0.7197 MB / 297.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.002637, allocations: 30 kB / 297.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.002678, allocations: 0 / 297.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.002716, allocations: 1.734 kB / 297.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.002774, allocations: 2.406 kB / 297.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.002937, allocations: 13.38 kB / 297.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.00305, allocations: 12.56 kB / 297.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.003139, allocations: 7.609 kB / 297.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.00319, allocations: 10.23 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.003265, allocations: 4.297 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003284, allocations: 2.031 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.003294, allocations: 2.781 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003313, allocations: 6.062 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.003343, allocations: 7.797 kB / 297.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.733e-05/0.00343, allocations: 14.33 kB / 297.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.003434, allocations: 2.016 kB / 297.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.003435, allocations: 1.094 kB / 297.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003439, allocations: 0 / 297.7 MB, free: 10.1 MB / 266.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.0002197/0.003659, allocations: 241.2 kB / 298 MB, free: 9.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.003704, allocations: 10.77 kB / 298 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.003743, allocations: 5.797 kB / 298 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.003801, allocations: 107.3 kB / 298.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.003815, allocations: 5.031 kB / 298.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.003828, allocations: 3.031 kB / 298.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.003941, allocations: 69.44 kB / 298.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.003948, allocations: 1.281 kB / 298.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003956, allocations: 384 / 298.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003963, allocations: 1.469 kB / 298.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.003993, allocations: 37.28 kB / 298.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.004296, allocations: 156 kB / 298.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.004366, allocations: 52.11 kB / 298.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.0044, allocations: 42.94 kB / 298.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.004408, allocations: 3.156 kB / 298.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.00443, allocations: 32.12 kB / 298.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.004431, allocations: 1.031 kB / 298.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.004606, allocations: 134.1 kB / 298.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.004637, allocations: 89.36 kB / 298.7 MB, free: 9.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.441e-05/0.004652, allocations: 90.95 kB / 298.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.004659, allocations: 26.86 kB / 298.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.004676, allocations: 80.66 kB / 298.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.004699, allocations: 7.25 kB / 298.9 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.004726, allocations: 18.95 kB / 298.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.004764, allocations: 315.5 kB / 299.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.004786, allocations: 33.25 kB / 299.3 MB, free: 8.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.004805, allocations: 38.34 kB / 299.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.00485, allocations: 71.09 kB / 299.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004852, allocations: 0 / 299.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.304e-05/0.004915, allocations: 96.56 kB / 299.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.004944, allocations: 37.95 kB / 299.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.004949, allocations: 0 / 299.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.004964, allocations: 3.156 kB / 299.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.005011, allocations: 2.5 kB / 299.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.005016, allocations: 9.125 kB / 299.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.005065, allocations: 3.375 kB / 299.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.005074, allocations: 1.219 kB / 299.5 MB, free: 8.266 MB / 266.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.443e-05/0.005138, allocations: 136 kB / 299.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.005166, allocations: 4.656 kB / 299.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.005184, allocations: 4.5 kB / 299.7 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.005187, allocations: 4.703 kB / 299.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005191, allocations: 5 kB / 299.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005194, allocations: 0 / 299.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005302, allocations: 63.34 kB / 299.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005304, allocations: 0 / 299.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.005324, allocations: 3.938 kB / 299.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.005327, allocations: 0 / 299.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.005334, allocations: 5.062 kB / 299.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.005338, allocations: 0.9844 kB / 299.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.00534, allocations: 3.797 kB / 299.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.005472, allocations: 202.2 kB / 300 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.005478, allocations: 1.938 kB / 300 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.005491, allocations: 3.328 kB / 300 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.005569, allocations: 6.422 kB / 300 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.005612, allocations: 6.469 kB / 300 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.005619, allocations: 2.062 kB / 300 MB, free: 7.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.105e-06/0.005627, allocations: 4.859 kB / 300 MB, free: 7.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005627, allocations: 1.438 kB / 300 MB, free: 7.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.005834, allocations: 8.469 kB / 300 MB, free: 7.812 MB / 266.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 0.0001111/0.005945, allocations: 82.11 kB / 300.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.006052, allocations: 132.5 kB / 300.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.006055, allocations: 0 / 300.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.0061, allocations: 93.98 kB / 300.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.006255, allocations: 11.97 kB / 300.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.006513, allocations: 133.1 kB / 300.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.006543, allocations: 54.86 kB / 300.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.411e-05/0.006557, allocations: 0 / 300.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.006615, allocations: 61.36 kB / 300.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.006616, allocations: 128 / 300.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of Templates: time 0.003525/0.01014, allocations: 0.6796 MB / 301.2 MB, free: 7.156 MB / 266.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=240 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_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.799516709987074]