Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.00207/0.00207, allocations: 104.3 kB / 19.71 MB, free: 1.914 MB / 14.72 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.002499/0.002499, allocations: 211.2 kB / 23 MB, free: 4.984 MB / 14.72 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 1.783/1.783, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.07296/0.07296, allocations: 14.39 MB / 300.5 MB, free: 7.34 MB / 238.1 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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003961/0.003961, allocations: 71.91 kB / 424.2 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.126, allocations: 52.89 MB / 477.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002882/0.1289, allocations: 0.7171 MB / 477.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.1292, allocations: 27.91 kB / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.1292, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.1293, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.1293, allocations: 0 / 477.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1296, allocations: 11.98 kB / 477.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1297, allocations: 19.94 kB / 477.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1298, allocations: 11.97 kB / 477.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.1298, allocations: 4 kB / 477.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.1299, allocations: 7.922 kB / 477.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1299, allocations: 8 kB / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.1299, allocations: 0 / 477.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.13, allocations: 8 kB / 477.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.13, allocations: 0 / 477.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.064e-05/0.1301, allocations: 15.92 kB / 478 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1301, allocations: 0 / 478 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1301, allocations: 0 / 478 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1301, allocations: 0 / 478 MB, free: 14.43 MB / 350.1 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.0005015/0.1306, allocations: 272.1 kB / 478.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1307, allocations: 8.031 kB / 478.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1307, allocations: 4.938 kB / 478.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.1308, allocations: 106.5 kB / 478.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1308, allocations: 8.297 kB / 478.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1308, allocations: 8.375 kB / 478.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.131, allocations: 71.89 kB / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.131, allocations: 192 / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.131, allocations: 3.938 kB / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.131, allocations: 4 kB / 478.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.607e-05/0.1311, allocations: 33.7 kB / 478.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1315, allocations: 192.6 kB / 478.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.1316, allocations: 56.3 kB / 478.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.1317, allocations: 50.56 kB / 478.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1317, allocations: 3.938 kB / 478.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1317, allocations: 30.56 kB / 478.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1317, allocations: 0 / 478.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002628/0.132, allocations: 142.8 kB / 478.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.1321, allocations: 77.11 kB / 479 MB, free: 13.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.1321, allocations: 93.86 kB / 479.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1321, allocations: 29.7 kB / 479.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1323, allocations: 88.08 kB / 479.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1323, allocations: 8.078 kB / 479.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1323, allocations: 13.72 kB / 479.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1325, allocations: 314.8 kB / 479.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.1326, allocations: 41.64 kB / 479.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.1326, allocations: 37.69 kB / 479.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.1327, allocations: 72.27 kB / 479.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1327, allocations: 4 kB / 479.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1328, allocations: 105 kB / 479.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.1328, allocations: 33.7 kB / 479.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1329, allocations: 4.094 kB / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1329, allocations: 3.938 kB / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.1329, allocations: 0 / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1329, allocations: 4 kB / 479.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.133, allocations: 7.984 kB / 479.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.133, allocations: 4 kB / 479.8 MB, free: 12.25 MB / 350.1 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 0.0001034/0.1331, allocations: 139.5 kB / 480 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1331, allocations: 7.938 kB / 480 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.1331, allocations: 7.109 kB / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1331, allocations: 0 / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1331, allocations: 4 kB / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1331, allocations: 0 / 480 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1333, allocations: 105.3 kB / 480.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1333, allocations: 0 / 480.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.1333, allocations: 4 kB / 480.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1333, allocations: 7.875 kB / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1333, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1333, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1333, allocations: 0 / 480.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.134, allocations: 1.013 MB / 481.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.134, allocations: 7.969 kB / 481.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.134, allocations: 4 kB / 481.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1341, allocations: 0 / 481.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1341, allocations: 7.984 kB / 481.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1341, allocations: 7.938 kB / 481.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.1342, allocations: 75.28 kB / 481.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1342, allocations: 0 / 481.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1345, allocations: 4 kB / 481.2 MB, free: 10.73 MB / 350.1 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.0001277/0.1346, allocations: 95.25 kB / 481.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1348, allocations: 138.7 kB / 481.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1348, allocations: 0 / 481.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.1349, allocations: 93.09 kB / 481.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1351, allocations: 8 kB / 481.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.1355, allocations: 221.4 kB / 481.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.1356, allocations: 59.34 kB / 481.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.43e-05/0.1356, allocations: 4 kB / 481.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.1356, allocations: 7.438 kB / 481.8 MB, free: 10 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1356, allocations: 3.938 kB / 481.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Templates: time 0.003125/0.1387, allocations: 0.6058 MB / 482.5 MB, free: 9.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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: 5.197512430138886]